Use this pluggable widget to dynamically set the active tab page. The default Tab Container in mendix apps does not have facility to select and open tab page dynamically, by using this widget you can dynamically open tab page.
- Dynamically open tab page
- Get tab page number on which user has clicked
- Call a Microflow on change of active tab
- Tested on Mendix 8.18.19, 9.1.1, 9.6.0, 9.7.0, 9.11.0, 9.15.1, 9.24.9 and 10.3.1
Try-out this widget by visiting https://tabselectorwidgetapp-sandbox.mxapps.io/
- Add a Data View and set the data source (this data source should have a attribute which will determine the number of active tab page)
- Add a Tab Container inside the Data View
- Add the this widget inside the Data View
- Configure the widget by docuble clicking on it:
- Enter the name of the target Tab Container
- Select the attribute to determine tab page number. The first tab page number is always 1.
- Run the app, now based on attribute the tab page will be selected by default.
This widget should be used inside a data container, we cannot use Microflow as data source to determine active page number this is due to limitation from Mendix pluggable widgets. As of now there is no direct way to get return value form Microflow in pluggable widgets. See https://forum.mendix.com/link/questions/95035
Suggestions, feedbacks, contributions and issues are always welcome :) here