I\'m new in jqgrid, I\'m just trying thes example to work. I have a html file only, nothing more. When I ran this file, array data is not showing. What am I missing here? Th
I think the problem is in the colModel
somehow. Check if the script after colModel
runs. Take only colModel
out and then check again. I'm also having this problem at the moment.
example:
jQuery("#appGrid").jqGrid({
datatype: "local", //or clientSide
colNames: ["Patient"],
colModel:[{name:'pat',index:'pat'}]
});
*some code* <- won't run
No wonder the loop doesn't work if the grid won't let you execute code after.
But when I do this:
jQuery("#appGrid").jqGrid({
datatype: "local", //or clientSide
colNames: ["Patient"]
});
*some code* <- will run after col error message
The Grid builds just fine, but the code after it isn't executed at all. I don't know where the error is.