PDA

View Full Version : [SOLVED]How to put data from data base to Ext.FormPanel?



maxkliver
1 Nov 2012, 8:35 PM
I have a Ext.FormPanel with textfielda and i want to show data in this fields. In sencha site i see a example how to do this http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/form/xml-form.html . But they use ExtJs 4.1 but i have only ExtJS 3.4. And when i try repide this example firebug says that Ext.define is not a function. Also i cant find Ext.data.Model in API on sencha site.
So its possible make something like this with ExtJs 3.4?

maxkliver
1 Nov 2012, 8:43 PM
Im dumb

http://dev.sencha.com/deploy/ext-3.4.0/examples/form/xml-form.html

willigogs
1 Nov 2012, 11:55 PM
You can find the 3.4 form examples here:
http://dev.sencha.com/deploy/ext-3.4.0/examples/#sample-11