Results 1 to 2 of 2

Thread: Querying for all form fields insida a container

  1. #1
    Sencha Premium User filippo.ferrari's Avatar
    Join Date
    Apr 2010
    Location
    Sanremo - Italy
    Posts
    135
    Answers
    2

    Default Querying for all form fields insida a container

    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!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    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:

    Code:
    container.query('field')
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •