Edit first pagination item
Edit first pagination item

I am using server Side to render a table. When using pagination, a problem arises: The first page is 0 index. Is it possible to somehow make the first page have index 1 (For use with server Side):
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Are you saying you want to load the second page of data or that you want to change the parameter sent to the server?
Please provide more details of what you are trying to do.
Kevin
I want to change the parameter that is sent to the server. To make the first page 1, not 0
The Server Side Processing protocol docs explain the parameters sent to the server. There isn't a
page
parameter. There is astart
parameter which indicates the first record to start with. That along with thelength
parameter provide the page details to the server script.You can manipulate any of these parameters using the
ajax.data
option as a function, see second example.Kevin