PDA

View Full Version : Extjs chooser image and dynamic form help



ladro1987
17 Jun 2010, 8:28 AM
Hi all,
I have this extjs image chooser:
http://www.sencha.com/deploy/dev/examples/view/chooser.html

Can I, load a form when i click on a element?
like this example:
http://www.sencha.com/deploy/dev/examples/form/form-grid-access.html

The problem is that the image chooser uses a "Ext.DataView" then the methods "getSelectionModel()" and "getSelections()" aren't valid for the same, because this method are valid only for GridPanel.

How can I create a dynamic form on the select of item, like the second example?

I need urgent help:-/:-/

Thanks
Roberto.

fay
17 Jun 2010, 8:41 AM
Take a look at the docs for Ext.DataView (http://www.sencha.com/deploy/dev/docs/?class=Ext.DataView) and you'll see several events you can use, for example, click!

ladro1987
18 Jun 2010, 12:25 AM
I've seen, for this I wrote on this forum. I hope that someone knows the correct method for my case.
Now review the method and I hope to find the the appropriate methods.