Switch between tabs in a tab container dynamically - Mendix Forum

Switch between tabs in a tab container dynamically


Hi All,

This issue was submitted to the support team Request #142909. I was told to put the idea here instead.

The idea is to be able to navigate to another tab other than the set default based on a microflow or entity. For instance think of a ticketing system where we have two tabs in the overview page showing the open and closed tickets in respective tabs. It will be great if we can navigate to the page with the correct tab already open when a user clicks on a button on another page to see the closed issues for instance.
This is just a simple use case. We have applications that use charts that navigate to an overview page with a dozen tabs. The functionality was previously taken care of by the widget TabSwitcher: https://marketplace.mendix.com/link/component/2964. But this widget has stopped working in newer versions of mendix. From what i read the TabContainer widget has been updated to React and hence the incompatibility issue.

Hope this could be implemented directly into the TabContainer widget where we can dynamically change the tab based on an attribute from the parent dataview object.

1 answers

Hi, I might be late but I have developed a widget which will select the tab page dynamically based on an attribute, I have tested this widget on Mendix 8.x and 9.x and it works. You can download that widget from market place https://marketplace.mendix.com/link/component/204732