setActionVisible(name,Boolean)
| thisViewsheet.setActionVisible(name,Boolean) to show or hide Dashboard toolbar buttons. |
Sets the visibility/accessibility of end-user Calendar features. To disable a feature, set the value to false.
Parameters
- name
-
name of toolbar button (String):
'Switch To Year View' 'Switch To Month View' 'Switch To Simple View' 'Switch To Date Range Mode’ 'Clear Calendar' 'Apply' - Boolean
-
false: hide the specified function
true: show the specified function
Example
Calendar1.setActionVisible("Switch To Year View", 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. |