setActionVisible(name,Boolean)
|
Sets the visibility/accessibility of end-user Selection List or Selection Tree features. To disable a feature, set the value to false.
Parameter
- name
-
Name of toolbar button (String):
'Search' 'Apply' 'Unselect' 'Reverse' 'Sort' 'Show' (in Selection Container) 'Hide' (in Selection Container) 'Remove' (right-click menu item in Selection Container) 'Select Subtree' (right-click menu item) 'Clear Subtree' (right-click menu item) - Boolean
-
false: hide the specified function
true: show the specified function
Example
SelectionList1.setActionVisible("Reverse", false);
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |