jqGrid with JSON data renders table as empty

后端 未结 9 2332
孤独总比滥情好
孤独总比滥情好 2020-12-30 06:39

I\'m trying to create a jqgrid, but the table is empty. The table renders, but the data doesn\'t show.

The data I\'m getting back from the php call is:



        
9条回答
  •  醉酒成梦
    2020-12-30 07:31

    I was working with WAMP 2.4, I was being crazy with this problem, I tried lot of things, like install previous versions of PHP and like 5.2, een I tried in Windows XP, and lots of jqGrid options. Well thank to Oleg finally and Mariusz I find the only line:

    $responce = new stdClass(); 
    

    Before the use of $responce could solve all, and now my grid is works Great!!!

    Thanks my friends.

提交回复
热议问题