How i can show all the rows of my table on a button click, without re-initializing my datatable ?
How i can show all the rows of my table on a button click, without re-initializing my datatable ?
Ashdemonz
Posts: 2Questions: 1Answers: 0
I basically want to add a functionality "Show All" by clicking on this, user will be able to see all the records and when clicked on "Show less" it again gets back in previous state.
Any help would be appreciated, i have been looking for solutions all over but could not get any yet :(
Note: i dont want to destroy table and re-initializing it.
This discussion has been closed.
Answers
Okay I got the solution :)
$("#button").click(fuction (){
table.pag.len(-1).Draw();
});