PDA

View Full Version : Save data to XML file



ManjuRenjith
30 Jul 2012, 4:54 AM
Hi Experts,

I want to save data from form to XML file.I have done code to load data from XML file by using XML data store (reader attached to model ). but could not save to that file. Kindly help me to do this .

Thanks in advance
Manju

bclinton
30 Jul 2012, 3:23 PM
I personally prefer to generate downloadable files, whether they be text, XML, PDF or anything else, on the server side.

But search on "Extjs export grid" and you will find several links to extensions and examples. Most of them export to Excel or CSV, but you should be able to modify the format.

ManjuRenjith
1 Aug 2012, 3:14 AM
Hi,

Thanks for your reply.Sorry I didn't get you.I just want to submit data from form to XMLfile that is linked with model.I have successfully loaded data from XML file to form by using the following code.

var record = this.getCustStoreStore().getAt(0);
this.getCustomerForm().loadRecord(record);

Please help me.


Regards
Manju
Manju M.G