Results 1 to 4 of 4

Thread: Activate Event Firing

  1. #1

    Default Activate Event Firing

    I have a tabpanel setup with the necessary event handlers. When I select a specified tab, the user goes to the page correctly by navigating to the site by using code in the event handler that caught the activate event.

    This new page is a list elements. The user selects one of these elements and is brought to a new page to edit/view the element details.

    The tab is still active from step 1.

    Is it possible, to click the already active tab and have the activate event fire again?

    Currently, in my application the activate event does not fire when an active tab element
    is already active.

    Is there any way around this?

    thanks in advance for any advice.


  2. #2

    Default Update

    Hello, I have been playing a bit with this.

    I added this bit of code which does add the click
    event handler for catching a mouse click on a tab object.

    Ext.get('myTabs').on('click', handleClick);

    My handler is now where I am having an issue.

    I tried this for an handler function.

    function handleClick(evt) {
    alert("Click Event Caught!!! " +;

    The evt is empty.

    I don't see much in the way of documentation on catching click events.

    Is here a place where I can see what arguments are passed and what
    I have available for data?

    My apologies if these questions are too basic. I am a newbie and just
    got into this bit of code.



  3. #3

    Default Update 2

    I've found some info but I am having no luck with this.

    I have the following code in my webpage:

    Ext.get('tabs1').on('click', handleClick);

    function handleClick(e, t) {

    alert("Click Event Caught!!! ID= " +;

    The ID comes back as undefined. I've tried using other properties from
    the EventObject an HTMLElement. All the results are no data.

    Am I missing something else to wire the click event with by Tab elements?

    thanks...hopefully there is an answer out ther...much appreciated!


  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007


    do not use alert.

    Debug properly.

Posting Permissions

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