Results 1 to 3 of 3

Thread: Prevent inherited event in child List

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jan 2013
    Location
    Salvador, Bahia - Brazil
    Posts
    35
    Vote Rating
    0
      0  

    Default Prevent inherited event in child List

    Hi guys.
    I have a Container (navigation.View) and some lists.
    One list extends another.
    In the container, I have push and pop listeners.


    My problem is that when I make a push for the child list, it run push event twice (a push for the parent list and another push for the child list).
    How can I prevent the push event in the child list?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    How are you listening to it?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Location
    Salvador, Bahia - Brazil
    Posts
    35
    Vote Rating
    0
      0  

    Default

    Sorry, it was my fault.
    I define listener both in father and child.

Tags for this Thread

Posting Permissions

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