PDA

View Full Version : Population FormPanel with data from Object



MontyBurns
18 Feb 2013, 1:57 PM
hi

i'm searching for a solution for this problem.
until now im editing data of a object with the PropertyGrid


new Ext.grid.PropertyGrid({
source: aObject
...
})


but i want to edit the data with a form. how do i 'connect' the object to the form?
i thought i could be made with a store but i've read in several threads that this is not possible

pleas give me a tip

thanks

MontyBurns

willigogs
18 Feb 2013, 2:39 PM
In a store you will have records. You can load a record into a form, edit the values, then save these values back into the store.

Here's one such example:
http://dev.sencha.com/deploy/ext-3.4.0/examples/form/composite-field.html

MontyBurns
22 Feb 2013, 9:45 AM
thanks! the example helped me a lot.