Facility Control

 View Only
  • 1.  Hidden block

    Posted 11-04-2014 17:51
    Hello there,

    I've created a custom panel, and would like to have a block of information hidden by default, with a button that reveals it, and hides it. (The abs object has been named 'Tab.Advanced')

    I've already created the choice constraint parameter, with the toggle button widget. The constraint has been set up as:

    0 - Advanced

    1- Hide

    Here is the task I've assigned to the parameter:

    if (this.getValue() == '1') {

    ogscript.reveal('Tab.advanced');

    }

    if (this.getValue() == '0') {

    ogscript.hide('Tab.advanced');

    }

    The button works, but the issue is, 'Tab.advanced' is immediately visible when you first open the grid file. Is there a way to have it hidden by default?

    Thanks!


  • 2.  RE: Hidden block

    Posted 11-04-2014 18:02
    Yup - just add visible="false" to the tag you want hidden by default.

    ``

    #DashBoard


  • 3.  RE: Hidden block

    Posted 11-05-2014 15:53
    Perfect, thanks!

    #DashBoard