1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    59
    Vote Rating
    0
    extjser12 is on a distinguished road

      0  

    Default 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

  2. 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.

  3. #2
    Sencha User
    Join Date
    Feb 2010
    Posts
    125
    Answers
    7
    Vote Rating
    3
    börn is on a distinguished road

      0  

    Default


    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.

  4. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    59
    Vote Rating
    0
    extjser12 is on a distinguished road

      0  

    Default


    Hi

    Thank you very much for your help. This is exactly what I was searching for.

    Kind regards
    extjser12

Thread Participants: 1