jQuery UI Widgets Forums Navigation Tabs tab initTabContent

This topic contains 1 reply, has 2 voices, and was last updated by  Nadezhda 9 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • tab initTabContent #69609

    jbpd
    Participant

    I am trying to get the initTabContent event to fire after everytime I create a tab.

    It works as expected when creating a new tab, but when I create a tab with the name “Tab1”, the initTabContent fires and works as expected. I close “Tab1” and re-add a tab with the name “Tab1” and it doesn’t fire the initTabContent. Is this a bug?

    I would expect it to fire when add a tab, whether or not that tab has been created before.

    tab initTabContent #69622

    Nadezhda
    Participant

    Hello jbpd,

    The ‘initTabContent’ is callback function not an event. It is called by the tab when a content panel needs to be initialized.
    You may use ‘add’ event which is triggered when a new tab is added to the jqxTabs. Here is an example: http://jsfiddle.net/jqwidgets/73h7n/.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.