Home › Forums › Guriddo jqGrid JS › Help › AddJSONData not working? (find the errror!)
Hi,
I'm using jqGrid 3.5. Can someone point out the error here (see live at http://rioleo.org/dev/grid2/)
Hello,
var response = “[{'id':'5','name':'john smith'}]“;
jQuery(”#list2″).jqGrid({
Hello again,
sorry put a save button before finishing
you should
var response = “{ [{'id':'5','name':'john smith'}] }“;
and configure jsonReader for this.
Please first refer to documentatin before posting issue.
Also you can use the addJsonData in the way that you have – i.e not in datatype function.
Best Regards
Tony
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS