lengthmenu?
lengthmenu?
les_stockton
Posts: 9Questions: 2Answers: 0
I'm trying to use the lengthMenu along with buttons and other datatables features. I've seen examples, such as the one at https://datatables.net/examples/advanced_init/length_menu.html that show the lengthMenu upper left of the grid, that shows Show 10 entries, where the 10 can be changed to 25, 50, or All. I can't seem to get that same thing on my grid, and I'm not sure why.
http://codepen.io/les_stockton/pen/Yqeogq/
This discussion has been closed.
Replies
You are using an old version of Buttons (1.0.3). 1.1.2 is the current release and included
pageLength
which was introduced in v1.1.0.Allan
so what do I need to include to fix this?
The latest version of Buttons. Its available on the CDN or use the downloader.
Allan
I changed it to use the updated links but still can't seem to see the lengthMenu
Can you link to an updated test page please. This example shows it working.
Allan
thanks. I think I have it working now,