Use server side pagination but use angular components to display data
Use server side pagination but use angular components to display data
I have been using server side pagination with angular 14 but using angular components to display the data in the html file similar to how it is done here https://stackblitz.com/edit/responsive-server-side-1264?file=app%2Fapp.component.ts
I am now upgrading to angular 17 so I upgraded datatables.net to 2.3 and this is not working now. Angular is not rending any of the data, the datatable just displays sorry not matching items found. Is there a way to use server side pagination but use angular components to display the data in datatables.net 2.3?
Answers
That test case seems to be using Angular Datatables:
Datatables can use an HTML data source. Sounds like when you upgraded you switch to using an
ajaxdata source withserverSideprocessing. Turning these features off will cause Datatables to use the HTML sourced table like you described in the first paragraph.Are you needing to switch to server side processing? You may need to turn these off in in Angular Datatables.
The Angular Datatables library is a third party library. There aren't knowledge experts with Angular Datatables on this forum. Use the library's support mechanism for questions specific to using Angular with Angular Datatables.
Kevin