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
0 answers

Issue with data table in Angular js when using $apply for invoke watcher

I am working on angular data table and getting issue related to $scope variable data not updating on UI after assign from second API, for this I used the $apply to invoke watcher and the UI is updated proper but the angular data table started behave…
Deepak Patidar
  • 384
  • 1
  • 8
  • 23
0
votes
0 answers

how to reload angular datatable?

I am using this datatable. tried this way. var dttable = $('datatable1'); var datatable = dttable.dataTable().api(); datatable.ajax.reload(null, false); but not working.
Amit Arya
  • 13
  • 6
0
votes
0 answers

angular $q deferred promise in angular datatables

I am trying to load data into an angularJs datatable. I can log deferred.promise. But I can't get it to return the Json object that the angular datatables need. Here is the controller app.controller('AdminListCtrl', function ($scope,…
0
votes
2 answers

How obtain dtInstance in Angular DataTables?

I have problem with management several tables using Angular DataTables. Here are fragments of my html code:
NikitaAbrosimov
  • 127
  • 1
  • 8
0
votes
1 answer

Uncaught TypeError: this.movie.setSheetName is not a function - Angularjs Datatable

Could someone let me know why am i getting this error. Uncaught TypeError: this.movie.setSheetName is not a function While using the buttons in Angularjs Datatable mentioned here https://l-lin.github.io/angular-datatables/#/withButtons Here is the…
af_khan
  • 1,030
  • 4
  • 25
  • 49
0
votes
2 answers

Can't workout how to reload angular-datatable after deleting records from the database

I can't seem to work out how to redraw my Angular-Datatable after I delete a record from my database. I don't get any errors, but the table never seems to redraw unless I manually refresh the page. I have been trying to work with many examples…
Riples
  • 1,167
  • 2
  • 21
  • 54
0
votes
1 answer

why angular-datatables plugin buttons doesn't work

I am using angular-datatables from the following resource: http://l-lin.github.io/angular-datatables/#/welcome I am trying to run the example of 'with buttons' from here: http://l-lin.github.io/angular-datatables/#/withButtons I am doing…
Brk
  • 1,247
  • 2
  • 23
  • 55
0
votes
1 answer

AngularJs Datatables not able to iterate columns on html using ng-repeat

Hi I am working on Angularjs Datatables and trying to iterate the columns and rows using ng-repeat but its not working. I checked the document but not able to find the exact way to pass columns and records on html. function…
Deepak Patidar
  • 384
  • 1
  • 8
  • 23
0
votes
0 answers

l-lin/angular-datatables, col resize but need no wrap cells content in tables on first load

Currently I use l-lin/angular-datatables and the col resize plugin in order the user resize width columns. But still I need no wrap content when first load the table so the columns on first load must be the maximum width without any break lines in…
Falinsito
  • 135
  • 1
  • 13
0
votes
1 answer

AngularJs Datatables implementation

I am new to AngularJs and i want to implement a data-table like we do in JQuery for that i came across Louis Lin Angular-datatable i have copied the html and JS as is from the site , but still i am unable to use it properly for example For…
Anand Kadhi
  • 1,790
  • 4
  • 27
  • 40
0
votes
0 answers

Leave out column in a angular datatable from ng-repeat

I want to use ng-repeat directive only for some specified column of a datatable for example:
0
votes
0 answers

Getting c.fn.dataTable.FixedColumns is not a constructor

I am using Angle and Datatables. I'm trying to freeze my table's first column, to do that, I have imported the datatables.fixedColumns (if I check on the generated base.js the plugin is there), but I'm still getting the following error:…
Gabrielle
  • 812
  • 2
  • 7
  • 28
0
votes
1 answer

datatables read language option from cookie

I'm using angular-datatables(based on jquery-datatables), reading language from Json files. It's not hard to switch datatables language through something like $scope.dtOptions.language.url = '../locales/dt/'+ lng +'.json'; but once the page…
vincentf
  • 1,419
  • 2
  • 20
  • 36
0
votes
0 answers

angular with symfony - angular-datatables n.hide is not a function

I am building an application that has the client-side(frontend), with angularJS and angular-datatables (included in modal), separately from the server-side(backend) that uses symfony framework. Unfortunately I have a similar error related to…
0
votes
3 answers

How to use this json with angular datatables

This is my server response. { "status": "success", "data": [{ "id": null, "reportType": "Total Voucher Report", "reportModule": "Vouchers", "reportData": [{ "id": "1", "voucherPackId": "2", "serialNumber":…
Namal
  • 2,061
  • 3
  • 18
  • 26