Results 1 to 4 of 4

Thread: is there a way to fire events to all childs at any deep?

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    752

    Default is there a way to fire events to all childs at any deep?

    Good Morning...

    is there a way to fire events to all childs at any deep? Like bubble, but fopr childs?

    Bye, Dumbledore

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Call the fireEvent method.

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    In combination with the cascade() method.

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Or the find or findBy methods.

    I think there should be a CompositeComponent class to encapsulate a collection of Components and call common methods...

    Code:
    myContainer.queryComponent('field').fireEvent('valid');

Similar Threads

  1. ComboBox setValue does no fire events
    By MalcolmHaslam in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 17 Dec 2009, 8:11 AM
  2. CheckBox will fire Events.Change twice!
    By kevinwan in forum Ext GWT: Discussion
    Replies: 0
    Last Post: 7 Jul 2009, 5:36 PM
  3. dd events won't fire
    By Shawazi in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 11 Apr 2008, 12:42 PM

Posting Permissions

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