PDA

View Full Version : fill form with json object



sofway
21 Apr 2010, 6:46 AM
Hi,
I have a formPanel and i want to fill it with data that is on a json object.
The load method of the form just work with url param, but i has the data in a json object.
Thanks

fay
21 Apr 2010, 6:51 AM
myForm.getForm().loadRecord(data);

See: http://www.extjs.com/deploy/dev/docs/?class=Ext.form.BasicForm&member=loadRecord