General Category > Help for ParamQuery Pro

Local Paging

(1/1)

karyn.ulriksen:
Your local paging demo provides an example for an ajax call, not a local call.  Could I please get an example for local paging with data stored in the dom element in a JSON/array format?

ie { [ { "field1A": 'aaaaa', "field1B": "bbbbbbbb"} , { "field2A": cccc', "field2B": "dddddddd"}   ]  }

paramvir:
The important setting for local paging is

obj.pageModel = { type: 'local' } and data should be provided directly to dataModel

Example:

http://paramquery.com/pro/demos/grid_json

Navigation

[0] Message Index

Go to full version