How to change button's behavior in the standard example 'Page Length'?

How to change button's behavior in the standard example 'Page Length'?

VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0

See http://datatables.net/extensions/buttons/examples/initialisation/pageLength.html

When I click the button "Show 50 rows" I expect the dark shadow will be removed right after selection, but instead I have to click one more time (somewhere on page) to come back to grid.

How can I get by with just one click?

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    That isn't an option in Buttons at the moment I'm afraid. It is something I plan to add in a future release.

    Allan

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Actually - I can't see why anyone would want the current behaviour... I've just committed a change that will immediately hide the collection.

    The nightly version is rebuilding with this change as I type and it will be in the next release.

    Thanks for flagging this up.

    Allan

  • VyacheslavVyacheslav Posts: 70Questions: 27Answers: 0

    Wow! Great!

    Thanks a lot Allan)

This discussion has been closed.