How can you create a grid but not load any data?
If I omit the url option then the loadError callback is triggered.
url
loadError
Currently we set
You should just use datatype: 'local' initially. At the moment when you need to load the data you should change the datatype to json or xml:
datatype: 'local'
datatype
json
xml
$("#list").jqGrid('setGridParam',{datatype:'json'}).trigger('reloadGrid');