angular-datatables is a wrapper for jQuery dataTables. It exposes an Angular module that provides a datatable directive along with datatable options helpers.

learn more… | top users | synonyms

0
votes
1answer
20 views

On demand data load using Scrolling in AngularJS datatable

I have used angular datatable in my application. I applied the options as given below, $scope.dtOptions = DTOptionsBuilder.newOptions() .withOption('responsive', true) ...
0
votes
1answer
27 views

Angular Datatables: cannot call destroy/edit function

I cannot access the API methods mentioned in this doc, as well as the destroy method described here . the HTML: <table datatable dt-instance="dtInstance" dt-options="dtOptions" ...
1
vote
1answer
15 views

jQuery DataTables recreation on data update with socket.io

I'm using jQuery DataTables with socket.io on AngularJS, and I'm pushing an item to the data binding list on a socket message and digesting afterwards. When it happened, the datatable recreated itself ...
1
vote
1answer
128 views

Angular Store Data and Reload Datatable

I'm using datatable: https://l-lin.github.io/angular-datatables and bootstrap: https://angular-ui.github.io/bootstrap/ this what i try to achive: after add data using modal from bootstrap and save ...
0
votes
1answer
17 views

How to create a jasmine unit test when using angular-datatables

I am using angular-datatables in my project and I would like to write a Jasmine/Karma unit test for it. This is code from my controller: $scope.dtOptions = ...
1
vote
1answer
90 views

Sorting of numbers within brackets in angular datatables

I am using Angular datatables to populate my table based on a webservice response. My webservice returns me a json like below [ { "id": 1, "name" : "abc", "count": "(20)" }, { "id": 2, ...
1
vote
1answer
157 views

How to call the destroy function of angular datatables?

I have a controller and I want to call the destroy function of Jquery Datatables in the controller in a watch method: $scope.$watch('model.SelectedWaiver', function() { if ...
1
vote
1answer
32 views

How to handle no records found in angular datatables

I am using angular-datatables in my app. I don't know how to handle when ajax source returns empty array. I am expecting to show some message to indicate "No Records found". $scope.dtOptions = ...
1
vote
1answer
51 views

columnFilter plugin not working with Angular DataTables Server Side Processing

I am using Angular datatables (https://github.com/l-lin/angular-datatables) with server side processing, everything works fine if I didn't add the column filter But once I add the withColumnFilter ...
0
votes
0answers
61 views

Angular-Datatables next page issue with iCheck

I am trying to do some experiment with an iCheck (http://fronteed.com/iCheck/) control in an angular-datatables to select rows and just noticed that when the next page is rendered the whole container ...
2
votes
1answer
78 views

angular-datatable column draggable out of the table

Is it possible to avoid the column, not to drag out of the data-table view area, as you can make out yourself, what I am talking about from this link ...
0
votes
2answers
155 views

Angular Datatables: How to render column with model binding?

Is there a way to render a column with model binding in textbox using DTColumnBuilder? Something like: DTColumnBuilder.newColumn('ColumnName').withTitle('Column Name').renderWith(function (data) { ...
0
votes
0answers
15 views

l-lin Angular-Datatables anybody knows how launch a repaint or a refresh

I'm with a project using this plugin https://github.com/l-lin/angular-datatables It is used it with the native css/JS for add responsive and is a paginated grid. If not a lot of data behave very ...
0
votes
1answer
44 views

Angular DataTable not populating DTInstance

I am not getting my DtInstance populated after rendering. Anyone faced this issue. <div ng-controller="InventoryTableController as vm"> <table datatable="" ...
0
votes
0answers
25 views

How can i edit contents of a <td> using angular-datatables?

Table in a project is now implemented like this: <table datatable="" dt-options="vm.dtOptions" dt-columns="vm.dtColumns" class="table table-custom"></table> The code related to this ...
0
votes
1answer
126 views

Smart-Table vs. Angular-DataTables

for displaying my tabled data I am currently using the angular datatables Here's the link. I am mostly satisfied with it up to some things. The only problem with the angular datatables is, that I ...
0
votes
1answer
356 views

Changing columns dynamically with angular-datatables

I am using angular datatables, an angularized version of the popular jquery datatables library. Here is my html <body ng-controller="TestCtrl"> <input type="button" ...
0
votes
0answers
37 views

How to add row to angular-datatable but with specific templates in cells

Angular-datatables is used in a project. In template it looks like this: <table datatable="ng" id="userGroupsTable" dt-options="vm.dtOptions" dt-column-defs="vm.dtColumns" class="table ...
1
vote
1answer
44 views

angular datatables not being rendered properly

i am trying to use angular datatables with my angular js project but it seems something is being missed , can someone please help me out links : - <script ...
1
vote
0answers
37 views

Angular Datatable not filtering with column reorder

In JavaScript, I have $scope.dtOptionsCandidate = DTOptionsBuilder.newOptions() .withColReorder() .withLightColumnFilter({ 1: {"type": "text"}, 2: {"type": "text"}, 3: ...
1
vote
1answer
88 views

How invoke angular datatable pagination refresh callback after data update?

I have angular datatable config which works fine. My config looks like vm.dtOptions = DTOptionsBuilder.newOptions(). withPaginationType('full_numbers'). //withOption('ajax', ...
0
votes
0answers
102 views

Angular JS datatable serverside script is not working

Hi Iam using Angular JS with Node. When i use client side in angularjs datatable when huge no.of records are obtained [> 5000 records] the browser goes to unresponsive state. So i tried using server ...
0
votes
0answers
41 views

Angular Datatables infinite(paged) scrolling

I have implemented a grid with: https://l-lin.github.io/angular-datatables/ <table datatable="ng" dt-options="vm.dtOptions" dt-column-defs="vm.dtColumnDefs" class="table table-striped ...
1
vote
0answers
281 views

Angularjs Datatable server side pagination

I'm trying to make Angularjs Datatable server side pagination in this link https://l-lin.github.io/angular-datatables/#/serverSideProcessing So I use this code $scope.dtOptions = ...
0
votes
0answers
29 views

Issue in merging angular-datatable with the drag-drop directives

I am having some problem with Column reordering in angular-datatable(angular-datatables), Please have a look at : angular-datatable column draggable out of the table, to better understand the ...
0
votes
2answers
116 views

Assign $scope variables inside a promise then method for angular datatables directive?

I am not sure what the issue is, but it seems the datatables directive is being initialized before my $scope is defined. What's more, it seems the variables getting set twice. I have a userService ...
0
votes
1answer
41 views

Angular Datatables use source object

With Angular Datatables I want to pre-load a JSON object with Ajax so that I can re-use the object elsewhere without doing another ajax request. But how do I load this object into the datatable? ...
0
votes
0answers
88 views

Properly toggle a hidden table to visible with angular-datatables?

I have 2 tables, one displayed, the other one hidden: <div ng-show="displayed('active')" ng-controller="DataTablesCtrlA as datatables"> <table datatable="" ...
0
votes
0answers
74 views

Angular datatable sum of rows by pagination

I spent 4 hours to find the solution but nothing!! I want to show the sum of Angular datatable rows base on pagination but it is not working, showing me sum of all records ..! Any Suggestion? Here is ...
1
vote
1answer
131 views

$elem.hide is not a function in angular-datatable

I want to use pagination plugin angular-datatable .I installed it with bower but it does n't work.It gives the below error TypeError: $elem.hide is not a function at Object.showLoading ...
0
votes
1answer
79 views

angular datatables ng-repeat doesn't work

I'm using angular-datatables but when I'm using ng-repeat, the functions of datatables doesn't work (sort, search, count, etc) HTML: <table datatable="" class="table table-striped ...
0
votes
2answers
65 views

ui-sortable with angular datatables

I have been trying to use Angular-ui-sortable to reorder the rows in an Angular-datatables. Reorder is not happening. However, if i try with normal table, it is working fine. If possible please help ...
1
vote
1answer
50 views

Datatable doesn't refresh correctly after $scope change

Hi I have a problem with Angular and Datatables. I have a table of items and when a socket.io event comes in, I change the $scope. The problem is, that the datatable change the $scope, but it keeps ...
1
vote
1answer
58 views

angular-datatables : How to remove “Show N entries” but leave pagination

There is a project that uses angular-datatables. Now I need to remove "Show N entries" dropdown from a page with such table, but leave pagination untouched. For now i've found this way - ...
-1
votes
1answer
33 views

How to manually add files to your visual studio project from github

Can someone please explain how to correctly download files from Github and add them into your visual studio project? I've searched online and have been unable to locate a tutorial or walkthrough for ...
0
votes
2answers
44 views

Why i need to use timeout?

I am using AngularJS and angular-datatable library. I need to invoke modal on click on row. Here is my part of code: function rowCallback(nRow, aData, iDisplayIndex, iDisplayIndexFull) { // ...
0
votes
2answers
46 views

Not able to pass object in a function Javascript

Following is my plnkr, which is working fine If I am not passing any parameter to my open1 method, but I need to pass an object in $scope.open1 method but it is throwing error. Let me know what I am ...
0
votes
1answer
96 views

How to combine data and show image in angular datatable

I am using angular datatable to create tables and following is my working plnkr - http://plnkr.co/edit/pQ0TrNEjzyXmvFcIvkSr?p=preview Here I want to merge two column data to one, i.e. to show Address ...
0
votes
0answers
21 views

example needed for usage grunt-css-url-replace

I am trying use grunt-css-url-replace in my project. I need an example of the usage of the this. I am trying to use angular datatables and glyphicons fonts which are specified in bower_components css ...
1
vote
0answers
318 views

ng-repeat with angular datatable plugin

I have been trying out ng-repeat option with angular datatable plugin (http://l-lin.github.io/angular-datatables). But I have been getting a loading symbol. I tried my code in jsfiddle - ...
0
votes
1answer
63 views

Angular datatables - rendered to combine data from multiple column

My angularjs controller code for datatable is given below. With DTColumnBuilder option how can i provide column renderer to show formatted data $scope.dtOptions = ...
3
votes
1answer
261 views

Angular Datatable not working with data

I am using Angular-datatable for showing data and its working fine with static data, but when if giving data dynamically its not working. Its taking my hard time. What i want to achieve is to ...
0
votes
1answer
217 views

Angular datatables with filter column width

I tried to set width for column in angular datatables with filters. But width of the column not changed. I try following var columnsSpecification = [ { type: 'text', ...
0
votes
1answer
75 views

Add elements to datatable

I'm using angular-datatables and wondering how could I add various elements such as buttons, text inputs etc to already rendered and set datatable. I think it may be possible through new angular ...
0
votes
0answers
90 views

Angular datatables, dynamically process requests server side

I'm a bit confused on the usage of angular data tables, particularly the server side processing section. I've got a list of columns on the DOM, picture it like this. Col A Col B Col C Col D Col E ...
0
votes
0answers
316 views

Angular datatable select rows with data

I need to render a new table based on selected rows. http://l-lin.github.io/angular-datatables/#/rowSelect I need to pass the entire object instead of ng-model="selected[' + full.id + ']" which ...
0
votes
2answers
206 views

angular-datatables dynamically change empty table message

I know one can easily change the default config for empty message during the table init. DTDefaultOptions.setLanguage({sEmptyTable:' custom'}) I have a page where I reload the table content from a ...
0
votes
2answers
38 views

Is it possible to set a second ng-model value on an item?

I am trying to filter an angular-datatable. The search box by default searches all of the values in ng-model and filters the table accordingly. I need to store the ID of the select list in the ...
1
vote
2answers
367 views

Angular datatables Fixed Columns undefined is not a function

I used angular datatables with fixed column, my HTML code for view as the following: <div class="row" ng-controller="PerformanceCtrl"> <table id="example" datatable="" ...