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_TopicIcon
export data from the grid issue
13/02/2009
06:52
Avatar
ivanco
New Member
Members
Forum Posts: 2
Member Since:
13/02/2009
sp_UserOfflineSmall Offline

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 

13/02/2009
11:21
Avatar
kshfi
Member
Members
Forum Posts: 9
Member Since:
24/01/2009
sp_UserOfflineSmall Offline

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

16/02/2009
02:22
Avatar
ivanco
New Member
Members
Forum Posts: 2
Member Since:
13/02/2009
sp_UserOfflineSmall Offline

Thanky for the reply,

But I was wondering is there any way to export grid data not grid configuration?

Ivan

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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