PDA

View Full Version : Querying for all form fields insida a container



filippo.ferrari
30 May 2014, 6:34 AM
It's possible to use component query to get all record fields (textfields, radio, etc.) childs of a given container or for axample a given fieldset?

Thank you!

mitchellsimoens
2 Jun 2014, 5:54 AM
ComponentQuery can use an xtype of an ancestor in the inheritance chain. So form fields that eventually extend Ext.field.Base can use the field xtype:


container.query('field')