Show fixed or all rows in a datatable
Show fixed or all rows in a datatable
I have a requirement where i need to show either a fixed number of rows or else show all the rows when a show all button is clicked on. I dont need the normal bLengthChange and the bPaginate functions. I saw that setting aLengthMenu as [[25,-1]] will do this job if i have a normal bLengthChange selection. But is it possible without the normal bLengthChange option to change the iDisplayLength on click of a button.
This discussion has been closed.
Replies
DataTables 1.10 has this ability built in :-)
Allan