How do you remove paging from statesave?
How do you remove paging from statesave?
smoldovanskiy
Posts: 62Questions: 8Answers: 0
This is what I came up with but it does not seem to work. What is the field I need to use? delete data.page; does not work.
stateSaveParams: function (settings, data) {
data.columns.forEach(function (column) {
delete column.visible;
delete column.search;
});
delete data.page;
},
This question has an accepted answers - jump to answer
Answers
There isn't a
page
property in the state object.start
is the property of interest: http://live.datatables.net/xeloropu/1/editAllan
awesome, i could not figure it out using the reference material. Maybe put that example under the stateSaveParams