Switching between "scrolling" and "paging" ?

Switching between "scrolling" and "paging" ?

iteractioniteraction Posts: 7Questions: 5Answers: 0

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

Answers

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    Answer ✓

    There is no "on-the-fly" method of switching between scrolling and paging other than to destroy and recreate the table.

    Allan

  • iteractioniteraction Posts: 7Questions: 5Answers: 0

    Thanks for the reply :) keep up the good work

This discussion has been closed.