Switching between "scrolling" and "paging" ?
Switching between "scrolling" and "paging" ?
iteraction
Posts: 7Questions: 5Answers: 0
in DataTables
Hi,
I was wondering, what would be a good practice for implementing a button for switching the display mode of the table (display using scroll and display using pager) ?
Currently i am initializing the datatable with a scroll setup and when the button is pressed, the datatable object is being destroyed and re-initialized with a pager setup, and vice-versa.
Is there a better way of doing this ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There is no "on-the-fly" method of switching between scrolling and paging other than to destroy and recreate the table.
Allan
Thanks for the reply :) keep up the good work