State Restore doesn't update show entries selection

State Restore doesn't update show entries selection

desperadodesperado Posts: 159Questions: 33Answers: 4

You can use the simple example to test
https://datatables.net/extensions/staterestore/examples/initialisation/simple.html

Steps to test
1) Set # rows displayed to 100
2) Save a State
3) Set # rows back to 10
4) Switch to your saved state
Notice there are now 100 rows displayed but the selection box still displays as Show [10] Entries

Answers

  • colincolin Posts: 14,526Questions: 1Answers: 2,482

    Yep, I'm seeing that too, thanks for reporting. I've raised it internally (DD-2489 for my reference) and we'll report back here when there's an update.

    Cheers,

    Colin

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @desperado ,

    That should be the issue fixed now. This will be available in the next DataTables release which we hope will be in the next few weeks. Until then you can access the fix from the nightly builds.

    Thanks,
    Sandy

  • colincolin Posts: 14,526Questions: 1Answers: 2,482

    Yep, that looks good to me - here it is in action: http://live.datatables.net/ciqerixo/1/edit

    Colin

Sign In or Register to comment.