Change datatables rowcount directly
Change datatables rowcount directly
tomsonka
Posts: 2Questions: 1Answers: 0
I have more page where i using datatables. I want to do, if the user change in one page the rowcount, this may change every page. The pagelenght and iDisplayLength not solve the problem. Thanks a lot.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You would need to save the user applied page length (which you can know when the user changes it from
length
) in a localStorage variable and then apply that when you initialise your next DataTable.Allan
Thank you