Forum


06:52

13/02/2009

hi Tony,
Very professional l and extra ordinary plugin!!
I started to use jqgrid couple days ago and currently I'm exploring it's possibilities. I have one problem:
-I had read that ” It is possible now to export the grid data to xml and json format” here http://www.trirand.com/blog/
but so far I didn't find any function that implements this. Would you like to point me how to export the data grid into array/json/xml format.
Thank in advance
Ivan
11:21

24/01/2009

3.4beta2 include export grid conf.
jqGridExport(options) - export the the current grid configuration to the desired format
$(”#mygrid”).jqGridExport({exptype:”xmlstring”});
will export the current grid configuration as xml string
$(”#mygrid”).jqGridExport({exptype:”jsonstring”});
will export the current grid configuration as json string
ex.
jQuery(”#gridconf”).click( function() {
var strxml=jQuery(”#navgrid”).jqGridExport(
{exptype:”xmlstring”});
jQuery(”#txmlarea”).text(strxml);
<a href=”#” id=”gridconf”>Show grid conf</a><br>
<form >
<textarea id=”txmlarea” rows=”10″ cols=”60″></textarea>
</form>
http://trirand.com/jqgrid/jqGr.....4beta2.zip, read readme.txt
Most Users Ever Online: 715
Currently Online:
51 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