Open amarewgs opened 8 years ago
Sadly, but it isn't possible now. Datatable component should works with server side in the future releases, but I can't tell you when it will happen.
Any update on this issue?
Any update on this issue? [2]
https://github.com/michaelbromley/ng2-pagination supports using async-piped data and total count... gonna use that instead of this module.
@itsnotvalid Thanks for sharing.
https://github.com/Ants24/angular2-serverpagination-datatable fork from angular2-datatable ,server sorting and server pagination
Any update on this ?
The reason pagination is not re-calculated for dynamic data is because ngOnChanges is not triggered. Try the following and it should work.
in your component: someDataTableArray.push(NEW_ITEM); someDataTableArray = someDataTableArray.slice();
and in html: [mfData]="someDataTableArray"
Frankly this is awesome, great job. But is it possible to have the pagination done from the server side response rather than fetching all the data on the client. I mean can we use other third party paginations here, like ng2-pagination?