akveo / ng2-smart-table

Angular Smart Data Table component
https://akveo.github.io/ng2-smart-table/
MIT License
1.63k stars 879 forks source link

how to paging from server? #866

Open dannyrz opened 6 years ago

dannyrz commented 6 years ago

can give a sample to show paging from server ? i have a api get data 10 rows and total rows with one request how can i show

<< 1 2 3 4 5 6 7 8 9 >>

i get a issues https://github.com/akveo/ng2-smart-table/issues/30 but i dont find any document

aashishrawte1 commented 3 years ago

ohhk I have tried something and also it is working fine. i am sending total count of data from backend to frontend and applied pagination in sql query. and apply pager in settings e.g. settings{ columns:{

    },
    pager:{
       display:true;
       perPage: 10;
    }
 }