Forum


18:50

06/10/2011

I want to use jqgrid completely transparent. I have a field in my database that I want to save data in xml format. I want to load the data,the user makes changes, and when I submit the form, jqgrid should format the data as xml again. I read a lot of documentation on how to load the data, but I did not see how to write the data. I am confused by the documentation in this respect.
I dont want to save the data by row, I want the whole thing, just like if I was dealing with a normal textarea.
How will jqgrid will save the data and under which POST VARIABLE?
Thank you
09:32

26/05/2010

Hello yacahuma,
Today, in a Jqgrid, you've got on row for each table record. Each table column could be Grid cell.
The datatype of each cell can be customized with formatter or directly when the data are getted from your database.
You can save your data before save them into database.
But what you're talking is each row / cells correspond to only one table row formatted into XML, i'm right ?
You can do this in two ways :
- First : CSV export and you format data
- Create custom function to do that and fetch all grid rows.
In each case, i think than you'll need to customize grid button OR catch after submit form event and do nothing on form saving.
Maybe trirand will have a best solution.
Most Users Ever Online: 715
Currently Online:
62 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