Change pagination value by code after filling data table

Change pagination value by code after filling data table

maulik_b_davemaulik_b_dave Posts: 2Questions: 0Answers: 0

Hi... I want to change pagination value like 10 20 30 50 100 by coding but I am not able do it.. Ex.. data table has select option for pagination and after selecting 10 or 20 or 50 displayed items on one page change without loosing data state or unload the data.

Replies

  • cdaringecdaringe Posts: 7Questions: 3Answers: 0

    Hi:

    I think you are looking for lengthMenu. It has to be done during construction. Hopefully that does the trick :)

  • maulik_b_davemaulik_b_dave Posts: 2Questions: 0Answers: 0

    Hi cdaringe ,
    Thanks for your reply..But scenario is that i want to change page size after construction and by code only..like on button click page size should be changed.

This discussion has been closed.