Hi,
thanks a lot for your post!
Unfortunately, I could check your link, as it just gives a “Not found” error, probably because it’s not a published page. Regardless, I know what you are talking about, so that’s no problem.
I can see what you are trying to achieve, and indeed this is not included as a feature currently, as this is not part of the original behavior of the DataTables JavaScript library (which offers these features). The reason probably is that the “Show xy entries” dropdown is independent from the default value that one can choose, as that value is reflected in the info bar below the table.
I do however agree that it would be a good idea to include the initial value that one set into that dropdown! I’ll check if I can add this to the plugin for the next version. Thanks a lot for your suggestion!
Meanwhile, you can add this to the table manually. Please add the following code to the “Custom Commands” textfield in the “Features of of the DataTables JavaScript library” section on the “Edit” screen of the table:
"aLengthMenu": [[10, 20, 25, 50, 100], ["10", "20", "25", "50", "100"]]
It will add “20” to the menu and automatically select that.
Regards,
Tobias