JSON load issue

I am getting the response in following format but grid is not being updated.

{“rows”:[{“id”:326,“data”:"[k,kjlk lj]"}]}



I tried both the function i.e.

mygrid.parse(data,“json”); //here data was in the above format

mygrid.load(“url”,“json”) //here url is also returning the data in the above format

but neither of them working.I have included all the necessary files.

Is the quote("") around the rows /data/id creating problem or am I missing something?



Thanks

Ashish

You have an error in your json code, the valid one will be
{“rows”:[{“id”:326,“data”:[“k”,“kjlk lj”]}]}
the data is an array, so it must not have the quotes around brackets.

Sample of usage attached.

1242641526.zip (74.9 KB)