Pagination - dynamically determine number of rows that fit in current 'page'
Pagination - dynamically determine number of rows that fit in current 'page'
justinsbits
Posts: 1Questions: 0Answers: 0
The concept I'm attempting to accomplish is to set the number of records per page (datatables implemented using pagination) at runtime/dynamically.
So as the table is resized the number of rows per page is updated accordingly - hence allowing me to use paging but eliminate the potential for a scrollbar showing up. So instead of choosing 10, 15, 100 rows to display per page the value would be derived based on the number of rows that could be visible in current table.
Any ideas on best way to accomplish this ?
So as the table is resized the number of rows per page is updated accordingly - hence allowing me to use paging but eliminate the potential for a scrollbar showing up. So instead of choosing 10, 15, 100 rows to display per page the value would be derived based on the number of rows that could be visible in current table.
Any ideas on best way to accomplish this ?
This discussion has been closed.