Questions tagged [angular-datatables]

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

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

jQuery dataTables heavily manipulates the DOM, thus it conflicts with Angular which also continously are altering the DOM. This makes jQuery dataTables sorting, filtering and so on causing errors - in practice impossible to use.

angular-datatables ensures that jQuery dataTables manipulates the DOM the "angular way" so all features - even the long range of plugins - works out of the box.

project site -> https://l-lin.github.io/angular-datatables/#/welcome

650 questions
0
votes
2 answers

Reload the bootstrap datatable after every minute?

I am using bootstrap server side datatable in my angularjs application and now i want to reload the data of that datatable after every minute. So how can i do it? I am using the following code: HTML:
Manjit Singh
  • 255
  • 5
  • 21
0
votes
1 answer

Sometimes Angularjs Cancel my $HTTP request to the server for datatables data

Image 2 shows how angular cancel $http but we do not know why. Because of that we have no JSON data for columns and files from the server and then in the imagen 1 you can see that angularjs datatables show error cannot read property of undefined…
Falinsito
  • 135
  • 1
  • 13
0
votes
1 answer

change of DATASET RECORD causes screen flicker in angular DATATABLES

I am using angular datatables. I have used the ng-repeat to to render all the values on DOM. Let say I am using products as my primary data collection and dummy products as secondary. I am using my primary data collection in ng-repeat. I did some…
Shankar
  • 1
  • 1
0
votes
1 answer

Using $resource with angular datatable

I am currently implementing $http for querying data with angular datatable. How could $resource be implemented instead? function serverData(sSource, aoData, fnCallback, oSettings) { var request = { method: 'POST', url:…
eulercode
  • 1,107
  • 4
  • 16
  • 29
0
votes
0 answers

change angular datatables filter's look

We are using angular datatable and in the backend webapi. We are using Light-column-filter http://l-lin.github.io/angular-datatables/#/withLightColumnFilter for serverside processing and it works perfectly as showed in the website. but we want to…
teams
  • 11
  • 3
0
votes
2 answers

The Data is printed in console, Assigned to $scope but NOT printing in HTML

Update Problem: Let me try to explain what I want in one or two lines, In Demo 1 where I've used Angular Datatables when I click on Edit button the data DOES NOT appear in Edit form, whereas in Demo 2 I haven't used any datatables but the data is…
Wcan
  • 840
  • 1
  • 10
  • 31
0
votes
1 answer

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) .withOption('bAutoWidth', false) …
NOBLE M.O.
  • 194
  • 1
  • 2
  • 15
using angular-datatables?
Table in a project is now implemented like this:
The code related to this table: vm.dtColumns = [ DTColumnBuilder.newColumn('id',…
Aleksei Yerokhin
  • 869
  • 4
  • 9
  • 22
0
votes
0 answers

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 side scripting but when is use i get the following…
0
votes
0 answers

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 question. So I could able to find a simple…
RONE
  • 5,415
  • 9
  • 42
  • 71
0
votes
2 answers

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 that retrieves the column definitions and data from…
DDiVita
  • 4,225
  • 5
  • 63
  • 117
0
votes
0 answers

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

I have 2 tables, one displayed, the other one hidden:
Eturcim
  • 798
  • 8
  • 26
0
votes
2 answers

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:
0
votes
2 answers

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) { // Unbind first in order to avoid any duplicate handler…
Dima Adas
  • 300
  • 2
  • 10
0
votes
2 answers

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 doing wrong. Plnkr -…
Tech Solvr
  • 505
  • 1
  • 7
  • 25