Hello,
The code that will workmost eficently is this
…
var data = [ { “item”:”1″,”title”:”A title” }, { “item”:”2″,”title”:”A second title” } ];
var obj = {};
obj.datatype=”local”;
obj.width= 700;
obj.height=400;
obj.colNames= [“Item #”, “Title”]
obj.colModel= [{name:'item',width:'50'}, {name:'title',width:'100'} ];
obj.data = data;
var grid = $(“#my-table”).jqGrid(obj);
…
See data parameter in the docs and datatype is set wrong
Regards