Mar 27, 2009, 12:33 PM
Can we export all store's data?
Hey guys, I'm trying to export all store's data to Excel, but I could only export records in GridPanel's first page.
I saw that "GridData.Value.ToString()" returns a json. With that string, the SubmitDataEventArgs is able to process it in order to return a XmlNode (calling the Xml() method).
Is there any way to get all the data inside the store object instead of just the records from the active page? (in order to work with the export process this data must be in an xml form)
Can anybody help me?
Thanks!
I saw that "GridData.Value.ToString()" returns a json. With that string, the SubmitDataEventArgs is able to process it in order to return a XmlNode (calling the Xml() method).
Is there any way to get all the data inside the store object instead of just the records from the active page? (in order to work with the export process this data must be in an xml form)
Can anybody help me?
Thanks!
string json = GridData.Value.ToString();
StoreSubmitDataEventArgs eSubmit = new StoreSubmitDataEventArgs(json,null);
XmlNode xml = eSubmit.Xml;