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
1 answer

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 1 & Address 2 as Address something like - addr1 -…
Tech Solvr
  • 505
  • 1
  • 7
  • 25
0
votes
2 answers

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 me out (any input or direction). With normal table…
0
votes
2 answers

Changing columns dynamically with angular-datatables

I am using angular datatables, an angularized version of the popular jquery datatables library. Here is my html
Zack
  • 13,454
  • 24
  • 75
  • 113
0
votes
2 answers

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 database but I want to search by the Name displayed on…
Robert
  • 4,306
  • 11
  • 45
  • 95
-1
votes
1 answer

Having problems installing angular datatables

I tried installing angular datatables following their documentation(https://www.npmjs.com/package/angular-datatables?activeTab=readme) but after installing and adding the import in app.module I receive this error Error:…
pepelito
  • 21
  • 8
-1
votes
1 answer

Argument of type '{ name: string; id: null; }' is not assignable to parameter of type 'User'

I am making angular app using in memory web api. When I was trying to make addUser()function, this is the error I am getting at createUser(data): Argument of type '{ name: string; id: null; }' is not assignable to parameter of type 'User'. Types…
Ousi Boi
  • 69
  • 1
  • 1
  • 6
-1
votes
1 answer

angular js data table fix header scroll bar

I am using AngularJS DataTable with fixheader option. below plugin using as a table plugin when using the fix header option, it's working well. but there is an alignment issue in my table. Please check the attached image. how I fix this issue?
kumara
  • 877
  • 4
  • 19
  • 43
-1
votes
1 answer

Click events not working in cloned buttons within fixed columns

After following https://stackoverflow.com/a/62034229/4217097 to make fixedColumns work in Angular Datatables, I found that the buttons inside the fixed column no longer fire the (click) event. The fixed columns are okay though. angular.json …
-1
votes
1 answer

Angular jQuery Datatable Dynamic ngModel bind values and server filtering or processing - mData error manage

How to set up Angular jQuery datatable to send dynamic parameters to the server? The data should be processed at the server. The parameters are bound to ngModel and are to fire during "onChange" event , rerenders the datatable. How to achieve this?
Arun Prasad E S
  • 9,489
  • 8
  • 74
  • 87
-1
votes
1 answer

Angular 6 page gets redirects to homepage without doing any router methods

Video rec of Issue I'm facing I'm using jquery datatable in my angular 6 application. If I use the table in home page the table loads perfectly. But if I try to use the same table in different component and try to route to that page the view…
Gopu V
  • 1
  • 2
-1
votes
3 answers

AngularJS / Promises / DataTables - No Data in Table

I have a controller in the provided module that uses data from either a JSON file or an API call. The JSON file version GetActionItems2() works perfectly. Unfortunately, I cannot get the GetActionItems() to work just like its counterpart function…
Vahe
  • 1,699
  • 3
  • 25
  • 76
-1
votes
1 answer

Dynamic AngularJs Bootstrap Datatable custom pagination Needed using HTTP Service

I have made the code the display the data into the data-table with the help of HTTP GET Service. I need to make custom pagination showing only 4 buttons previous, 1, 2, next page. Note: When user is on page 1 of pagination it should show…
Naresh Kumar P
  • 4,127
  • 2
  • 16
  • 33
-1
votes
1 answer

Checkbox not binding to ng-model inside ng-repeat

I am rendering my DataTable the angular way, I added a select all checkbox at the top and per row I added a checkbox and number textbox. If the checkbox per row is checked then the number textbox would be enabled. The problem is that for example, I…
Len
  • 534
  • 1
  • 15
  • 31
-1
votes
2 answers

ng-click event binding not working inside angular-datatables

I am using angular-datatables for listing student information. I want to implement server-side ajax implementation for every search, sorting, paging etc rather than fetch all data and repeat the data using angularjs. sorting, searching, paging is…
narayansharma91
  • 2,273
  • 1
  • 12
  • 20
-2
votes
1 answer

node_modules/angular-datatables/node_modules/rxjs/internal/types.d.ts(82,92): error TS1109: Expression expected

Full error:- ERROR in node_modules/angular-datatables/node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected. node_modules/angular-datatables/node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ';'…
aslam
  • 1
  • 2
1 2 3
43
44