Author Topic: Local Paging  (Read 3612 times)

karyn.ulriksen

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Local Paging
« on: January 03, 2014, 05:01:42 am »
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"}   ]  }
« Last Edit: January 03, 2014, 06:58:27 am by karyn.ulriksen »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Local Paging
« Reply #1 on: January 03, 2014, 08:40:00 am »
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
« Last Edit: January 03, 2014, 02:56:20 pm by paramquery »