Extjs - setting data to texfield from xml file
I am very new to sencha architect and trying to set data to textfields from xml file.
Can anyone help me to do this by using store and model.
Thanks in advance.
You can do this via a reader directly on the Form like the following example:
Or probably more commonly you can configure a Model with all of the fields/reader/etc and then set an instance of that Record to the Form using loadRecord.
Check out the attached example. It demonstrates the use of model, store, and controller.
Thank u a lot for ur help..
Can it be possible to submit data to xml file by the same method ?
Thanks in advance