jQWidgets Forums

jQuery UI Widgets Forums Navigation Tabs How to refresh tabs?

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 6 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • How to refresh tabs? #103722

    walker1234
    Participant

    Hello,

    It looks like the way tabs are defined :

    https://jseditor.io/?key=jqwidgets-tabs-template

    When the first active tab loads (Node.js in the above example), I think it caches the results (if I call a webservice). When I click on other tabs, it kind of looks like it refreshes for first time.
    But when i click on the already clicked tabs, it doesn’t looks like it refreshes the content.

    Not sure when the tab loads for the first time, the default active tab, refreshes by itself?

    Is there a way to refresh a tab when I click on it second time?

    How to refresh tabs? #103737

    Hristo
    Participant

    Hello walker1234,

    The tabs are initialized when they are selected for the first time.
    For this purpose is used the initTabContent callback to initialize the internal widgets in different tabs.

    You could change its header or content and to update it on that way.
    Also, please, take a look at this topic:
    https://www.jqwidgets.com/community/topic/refresh-jqx-tab/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.