-
Answered: Get all components of a range with specific xtype
Answered: Get all components of a range with specific xtype
Hello together
Is there a method in Ext JS where I can get all components of a range with a specific xtype?
For example:
Return all checkboxes of a specific fieldcontainer.
Thanks for your answer!
Kind regards
extjser12
-
Best Answer Posted by
börn
what is a range? what is a specific field container?
Ext.ComponentQuery.query('#yourspecificfieldcontainer yourXtype'); ?
e.g.
Ext.ComponentQuery.query('#fieldset-1243 checkbox')
gives all components of xtype checkbox of the fieldset with the given id.
-
what is a range? what is a specific field container?
Ext.ComponentQuery.query('#yourspecificfieldcontainer yourXtype'); ?
e.g.
Ext.ComponentQuery.query('#fieldset-1243 checkbox')
gives all components of xtype checkbox of the fieldset with the given id.
-
Hi
Thank you very much for your help. This is exactly what I was searching for.
Kind regards
extjser12
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us