Default jqGrid JSON Format


/ Published in: JavaScript
Save to your folder(s)

Tag Description
total total pages for the query
page current page of the query
records total number of records for the query
rows an array that contains the actual data
id the unique id of the row
cell an array that contains the data for a row

[Online Documentation](http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data "Online Documenation")


Copy this code and paste it in your HTML
  1. {
  2. "total": "xxx",
  3. "page": "yyy",
  4. "records": "zzz",
  5. "rows" : [
  6. {"id" :"1", "cell" :["cell11", "cell12", "cell13"]},
  7. {"id" :"2", "cell":["cell21", "cell22", "cell23"]},
  8. ...
  9. ]
  10. }

URL: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data

Report this snippet


Comments


You need to login to view comments.