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
Manipulate JSON Data Received
15/11/2011
18:53
Avatar
Ridge
Member
Members
Forum Posts: 5
Member Since:
08/03/2011
sp_UserOfflineSmall Offline

Hi everybody,

using jqgrid through JSON input data, it's possible to accede externally  to the  Json data received?
Or, it's possible to pass to the Grid a JSON stored in a JavaScript variable and not through url? 

Thank you all. 

17/11/2011
19:31
Avatar
Arvind Yadav
Member
Members
Forum Posts: 12
Member Since:
16/11/2011
sp_UserOfflineSmall Offline

Hi,

You can give a try if you like it.

Hit the url and get the json response into a client array and pass this to your grid as input.

Thanks,

17/11/2011
21:11
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

Hi,

if one use datatype: 'jsonstring' the value of datastr parameter can be not only the string, but just the object which represent the data. Another possibility is to use datatype: 'local' and the input object provide as the value of data parameter.

If you want really manipulate the data received from the server you can do this inside of beforeProcessing callback function. Inside of the function you can make any changes in the data recieved from the server before the data will be processed by jqGrid.

Best regards
Oleg 

18/11/2011
10:55
Avatar
Ridge
Member
Members
Forum Posts: 5
Member Since:
08/03/2011
sp_UserOfflineSmall Offline

OlegK said:

Hi,

if one use datatype: 'jsonstring' the value of datastr parameter can be not only the string, but just the object which represent the data. Another possibility is to use datatype: 'local' and the input object provide as the value of data parameter.

If you want really manipulate the data received from the server you can do this inside of beforeProcessing callback function. Inside of the function you can make any changes in the data recieved from the server before the data will be processed by jqGrid.

Best regards
Oleg 


Thank you!  You SAVE me!

Regards,

Alberto

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
29 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