Facility Control

 View Only
  • 1.  Dashboard Hide Tab

    Posted 09-28-2020 17:19

     

    Hi All,

      

         Is there a method to either hide a tab or make a tab not accessible? what I want to do is make a tab either not visible or not accessible without clicking a button from the main Tab.

     

    I want the user to have to click a button to reveal (both going to the tab and making it visible). So currently I can have a button that will reveal to a tab, but when i use ogscript.hide, it doesn't hide the tab.

     

     



  • 2.  RE: Dashboard Hide Tab

    Posted 10-01-2020 13:24

    Hi Curtis,

    There is no way to hide one tab from a tab container.    

    What you could do is hide all the tabs.   And then show a toggle buttons parameter right above it.   

    Download the "Free DashBoard Example Panels for Everyone" panels here: https://support.rossvideo.com/hc/en-us/community/posts/360065970252-Free-DashBoard-Example-Panels-for-Everyone).

    Then go looks at the "Tabs.grid" file in the "Containers and Panel Elements" folder.  It shows at the bottom right a parameter that is controlling the tabs when you click on it.   

    When the user clicks a button to reveal something, you can then change the constraints (choices) on your parameter.  

    If you look at the "ReplacingConstraints.grid" file in the "Parameters" folder, the first example shows how to replace the constraints on a parameter that is a toggle buttons.   

    So using both those methods, you could acheive what you are trying to do.

     


    #DashBoard