Category: Widget
Resource links
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

How Do I Set Tab Visibillity From Program?

Issue

I need help figuring out how to make only the first tab visible in my tab widget until a certain action is performed. I tried reading the documentation but could only find a manual method. I asked for help and was advised to set the Tab's Visibility setting to JS and reference a value in the Appsmith store, which worked. I learned something new and it solved my problem.

Resolution

You can use the Show tabs property of the Tab widget to dynamically change tab visibility. Please note that this affects all tabs as opposed to individual tabs. For individual tab visibility you will need to access the settings for that tab.