I am using smart-table for displaying the records. Using custom pagination to display the records 20 per page.
I want to display pagination like : 1 - 20 of 25 Records How can I accomplish this ? - I tried using (num of pages * total pages), but this will round the result.
You can use totalItemCount
which is present inside tableState.pagination
.
Just populate that value once you get data from server and use that value in the pagination template.