Bug when using "paging: false" together with KeyTable
Bug when using "paging: false" together with KeyTable
sroesner
Posts: 7Questions: 3Answers: 0
Hello,
With disabled paging, but enabled KeyTable, DataTables should not try to paginate when pressing the page up/down keys. Instead the browser should scroll. Otherwise it just shows less entries ("Showing 41 to 48 of 48 entries") without giving the user the chance to switch to another page.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Looks like this example works:
https://datatables.net/extensions/keytable/examples/initialisation/scrolling.html
Is this what you are doing?
Kevin
Yes, that's the example.
And it doesn't work as well, as you can see when you click into it and press "page down" several times. Then it shows "Showing 51 to 57 of 57 entries", the only way to scroll up is with the page up key, the scroll bar on the right disappeared
(Tested with chrome 63)
Missed that initially. @allan should be able to provide more details.
Kevin
BTW, also with scroller enabled (https://datatables.net/extensions/keytable/examples/initialisation/scroller.html) that does not work as expected, the table just show blue lines when pressing "page down".
Also, when using AutoFill with paging, the autofill-dot doesn't move away, as the cell selection does
Thanks for highlighting this and letting me know about it. Fix committed here. It will be in the nightly in about 5 minutes.
Regards,
Allan