Post edited 21:47 – 06/05/2012 by zippy Post edited 21:48 – 06/05/2012 by zippy Post edited 21:50 – 06/05/2012 by zippy Post edited 21:53 – 06/05/2012 by zippy Post edited 21:53 – 06/05/2012 by zippy
Hello. I am new to JQGrid and have been trying to get it working with some JSON data, but it's not going well. I wonder if anyone would be kind enough to help me out.
What I get is a grid that has the column headings but no contents. It just displays "Loading…" forever.
After a bit of investigation I can see that it makes multiple calls to the getAccessor method and on the last call the first parameter to the method (obj) is undefined. That seems to be what's causing the grid to stop rendering, but why?
I can see that the JSON data is being retrieved as above from the AJAX request, and I have been through the JSON data instructions for JQGrid quite carefully but can't see what I'm doing wrong. Can anyone help? Thank you.