Change iDisplayStart on number page
Change iDisplayStart on number page
2ur1st
Posts: 4Questions: 0Answers: 0
Hello, I use and I really like it, but ran into a problem that the pagination pass parameters to the server and iDisplayLength and iDisplayStart, for example,
first page of the table settings { iDisplayLength = 10 and iDisplayStar = 0; }
for second page { iDisplayLength = 10 and iDisplayStar = 10; },
but function waits Options
first page of the table settings { iDisplayLength = 10 and iDisplayStar = 1; }
for second page { iDisplayLength = 10 and iDisplayStar = 2; },
for three page { iDisplayLength = 10 and iDisplayStar = 3; },
how to solve the problem, thanks
first page of the table settings { iDisplayLength = 10 and iDisplayStar = 0; }
for second page { iDisplayLength = 10 and iDisplayStar = 10; },
but function waits Options
first page of the table settings { iDisplayLength = 10 and iDisplayStar = 1; }
for second page { iDisplayLength = 10 and iDisplayStar = 2; },
for three page { iDisplayLength = 10 and iDisplayStar = 3; },
how to solve the problem, thanks
This discussion has been closed.
Replies
1. Modify Datatables
2. Use fnServerData to modify the request to the server
3. Modify the server code to either expect what is sent, or multiple the two numbers together.
Allan