lengthmenu?

lengthmenu?

les_stocktonles_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/

Replies

  • allanallan Posts: 61,985Questions: 1Answers: 10,162 Site admin

    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

  • les_stocktonles_stockton Posts: 9Questions: 2Answers: 0

    so what do I need to include to fix this?

  • allanallan Posts: 61,985Questions: 1Answers: 10,162 Site admin

    The latest version of Buttons. Its available on the CDN or use the downloader.

    Allan

  • les_stocktonles_stockton Posts: 9Questions: 2Answers: 0

    I changed it to use the updated links but still can't seem to see the lengthMenu

  • allanallan Posts: 61,985Questions: 1Answers: 10,162 Site admin

    Can you link to an updated test page please. This example shows it working.

    Allan

  • les_stocktonles_stockton Posts: 9Questions: 2Answers: 0

    thanks. I think I have it working now,

This discussion has been closed.