I’m looking for dynamic paging in grid, using json dataset.
should I use dhtmlxDataView or something else?
I just added static paging.
Is there anything example for json dataformat dynamic paging or Can anybody help me?
thank you.
Pleas,e make sure that you’ve defined a valid json. Here you can find a simple example:
{“total_count”:50000, “pos”:0, “data”:[
{ “col1”: “A Time to Kill”,
“col2”: “John Grisham”,
“col3”: “100”
},
{ “col1”: “Blood and Smoke”,
“col2”: “Stephen King”,
“col3”: “1000”
},
{ “col1”: “The Rainmaker”,
“col2”: “John Grisham”,
“col3”: “-200”
}
]}
Pay attention to the “total_count” and “pos” attributes.
Also, please, clarify if you are using the PRO version of the dhtmlxGrid.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan