jQWidgets Forums

jQuery UI Widgets Forums Navigation Tabs re-initialize tabs

This topic contains 3 replies, has 2 voices, and was last updated by  kjm 9 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • re-initialize tabs #79804

    kjm
    Participant

    I have an east/west splitter.
    The west contains a grid, the east contains a set of tabs with grids inside each tab.
    When a row in the west grid is selected I want to initialize the tabs in the east splitter.
    The first time a row is selected in the west grid it works great, my problem is when a different row is selected the east tabs are not refreshed with the new data.

    Are there any examples of something like this?
    I tried destorying the east grids but they just remained empty, the initTabContent function is only executed the first time.
    Any suggestions/examples would be greatly appreciated.

    re-initialize tabs #79832

    Peter Stoev
    Keymaster

    Hi kjm,

    You can use our Tabs widget API to add, remove and update Tabs. Example: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtabs/settings.htm?arctic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    re-initialize tabs #79844

    kjm
    Participant

    I see the add and remove but nothing that will update the grid inside of each tab.
    Or are you saying when a second west grid row is selected I should remove all tabs and re-add the tabs/grids to the east splitter?

    re-initialize tabs #79854

    Peter Stoev
    Keymaster

    Hi kjm,

    I am not saying anything like that. The Grid has its own API for updating its data.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    re-initialize tabs #79874

    kjm
    Participant

    Duh, updatebounddata (jqxgrid), so simple. I hate spinning my wheels on something I should have seen myself.
    Thanks Peter, I appreciate the assistance.

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

You must be logged in to reply to this topic.