Have a look at the tabswitcher widget: https://marketplace.mendix.com/link/component/2964/Valcon/TabSwitcher this will allow you to achieve exactly what you describe
Hi Ayaz,
If marketplace modules aren't working for you can try the following:
1. Have the page opened via microflow. This microflow will create a non-persistent object containing a boolean attribute for "editable". (Default false). Wrap the entire page in a dataview pointing too this object.
2. For each tab, have two containers. Each container has the exact same attributes but show and hide the container based on the "editable" boolean being true or false.
3. For the view container make the attributes editable = false. For the edit container make editable = true.
4. Somewhere on the page, have a switch widget, when clicked, triggers a nanoflow to update the NPE object to either true or false.
This should allow the containers to swap in and out on the page seemlessly and shouldn't take you away from the tab you're on.
Have you tried this widget? I think it would work for this kind of what you want to do. https://marketplace.mendix.com/link/component/204732