Attach dynamic paging to grid

[url]https://dhtmlx.com/docs/products/dhtmlxDataView/samples/01_initialization/02_dynamic_paging.html[/url]

[url]https://dhtmlx.com/docs/products/dhtmlxGrid/samples/14_loading_big_datasets/02_50000_paging.html[/url]

[url]https://gist.github.com/srikanthjeeva/10a07ef4ce416b8c0337[/url] (not working for me)

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. :slight_smile:

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.