Disable pagination

Disable pagination

donnaWongdonnaWong Posts: 10Questions: 3Answers: 0

Hello guys!
I want to ask a question,

Is it possible to "grey out" or "disable" the user from clicking on the pagitation buttons?

Do not completely remove it, just grey out the rest of them so the user can't click and go to the next page

The user can see only page 1.

Relevant image:

Answers

  • colincolin Posts: 14,618Questions: 1Answers: 2,497

    You can call

            $('.paginate_button ').off('click');
    

    to remove the click event handler on the buttons. Another option, perhaps, would be to remove the paging buttons, but leave the table info so the users can still see how many records there are - something like this,

    Colin

Sign In or Register to comment.