Forum



16:11

12/08/2010

Hi,
I'm having a trouble that i can't render some JSON data into the grid, i suspect it's because the order of the attributes, im using java on server-side and i use an algorithm to convert a class to json, and it's sorting the variables name instead keep in the original order (i believe it's because internaly the algorithm use a sorted collection when getting the variable's name using reflection) so when it reach the client the json isn't in the same order that i've seen in the documentation, i think it's a limitation of the grid if it's really true ..
Here is my grid code:
http://paste.ideaslabs.com/sho.....sUiYHWtByL
And here is my JSON data:
http://paste.ideaslabs.com/sho.....4yIQZe8u8U
note that in my jqGrid im using function datatype and inside the function i call a function that is DWR with the callback setting the response into the grid, i've done every possible test (that i've think .. heh) and get nothing .. help please and you'll get a tribute comment into the code
thanks, cya!
Most Users Ever Online: 715
Currently Online:
179 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66