lengthMenu
lengthMenu
nicocandela
Posts: 3Questions: 1Answers: 0
Why "lengthMenu": [ 10, 25, 50, 75, 100 ] and "lengthMenu": " MENU registros"
If I put "lengthMenu": " MENU registros" the table works but if I use "lengthMenu": [ 10, 25, 50, 75, 100 ] the table dont show search field and number of rows selector.
Also, I try
"language": {
"lengthMenu": " MENU registros"
},
But don´t work
This discussion has been closed.
Answers
Can you post your entire DataTables initialisation please - I'm not really understanding.
Allan
Whith this options , don´t show search field and number of rows selector.
If I delete de lines
"lengthMenu": [ [10, 25, 50, -1], [10, 25, 50, "Todos"] ],
"pageLength": 50
works fine.
But I want show 50 rows by page and the option of All (-1)
You have put that line inside your "language" settings. It should be outside, as a separate item.
Good spot, @tangerine , the same for
pageLength
too..ok, thanks, now I see it