-
26 Jul 2012 3:43 AM #1
Extjs - setting data to texfield from xml file
Extjs - setting data to texfield from xml file
Hi everybody,
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.
Nisha
-
26 Jul 2012 8:18 AM #2
You can do this via a reader directly on the Form like the following example:
http://dev.sencha.com/deploy/ext-4.1.../xml-form.html
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.Aaron Conran
@aconran
Sencha Architect Development Team
-
26 Jul 2012 1:57 PM #3
Hi nishaboy,
Check out the attached example. It demonstrates the use of model, store, and controller.
-
27 Jul 2012 3:04 AM #4
-
31 Jul 2012 10:53 PM #5


Reply With Quote