brunano21 / angular-4-data-table

An Angular 5 data table, with pagination, sorting, expandable rows, row selection, etc. with basic accessibility support.
MIT License
11 stars 19 forks source link

How to Use this? #19

Closed lenichols closed 6 years ago

lenichols commented 6 years ago

I need to add sort and pagination functionality to my tables. I've installed the lib but how do i apply it to my tables?

brunano21 commented 6 years ago

Hi, do you want to add server-side pagination/sorting or client-side's?

ferprez commented 6 years ago

Hi @brunano21, I need to implement server side pagination/sorting. How can I do it with your library ?

brunano21 commented 6 years ago

Hi @ferprez, I was about to write an example, but then I remember about this sample code which implements what you are asking. Please refer to this to understand how you can implement server-side pagination and/or sorting.