setActionVisible(name, Boolean)

thisViewsheet.setActionVisible(name,Boolean) to show or hide Dashboard toolbar buttons.

Sets the visibility/accessibility of end-user Table features. To disable a feature, set the value to false.

Parameters

name

name of Table function (String):

'Menu Actions' ('More' button)
'Export'
'Show Details' (Freehand Table)
'Show Enlarged'
'Sort Column' (column header 'Sort' button)
Boolean

false: hide the specified function
true: show the specified function

Example

TableView1.setActionVisible("Show Details", false);

Either syntax below can be used in component script:

setActionVisible                 // unqualified
TableView1.setActionVisible      // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.