Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Attributes order matter?
25/08/2010
16:11
Avatar
jayrmotta
Member
Members
Forum Posts: 5
Member Since:
12/08/2010
sp_UserOfflineSmall Offline

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 Surprised

thanks, cya! Smile

 

26/08/2010
00:05
Avatar
jayrmotta
Member
Members
Forum Posts: 5
Member Since:
12/08/2010
sp_UserOfflineSmall Offline

up up!

27/08/2010
20:09
Avatar
jayrmotta
Member
Members
Forum Posts: 5
Member Since:
12/08/2010
sp_UserOfflineSmall Offline

someone help me please

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information