sLengthMenu

sLengthMenu

MaddyMaddy Posts: 24Questions: 0Answers: 0
edited December 2011 in DataTables 1.8
Hi, I'm new to datatables and I need some help. Can I give some strings like 'ABC', 'XYZ' instead of 10,25, etc in sLengthMenu. I want to display datatable from mysql database based on what is selected in sLengthMenu.

Thanks much in advance!!

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    http://datatables.net/ref#aLengthMenu - the second array is the language/display array, the first is the value array.

    Allan
This discussion has been closed.