Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






How to retrive json data which is posted back using ajax ajax request

UserPost

14:20
15/04/2012


yuvaraj

New Member

posts 1

I'm using a codeigniter library which configures grid functionalities and builds the grid.

my application is already developed using table i'm implementing same functionalities into the grid.


actually i just need to know how can i populate the data which is posted back from the server using ajax post method!

the data which i get is something like this which is already json script,

{"rows":[{"id":"28","cell":[null,null,null,"28","TSG225","Lastname"]}],"cols":[null,null,null,"28","TSG225","Lastname"],"page":false,"total":1,"records":1}


please help me!

12:33
17/04/2012


tony

Sofia, Bulgaria

Moderator

posts 6999

Hello,

Since you know the Id of the row you can get this data, convert it to object and use 

setRowData method to update the grid row data. See documentation.


Regards


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

zenixgrace

dofamin

113 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9581

Posts: 28754

Membership:

There are 10087 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1157

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (6999 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information