isActionVisible(name)

thisViewsheet.isActionVisible(name) to return Dashboard toolbar button visibility.

Returns the visibility/accessibility of the specified end-user Crosstab feature.

Parameters

name

name of Crosstab function (String):

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

Example

if (Crosstab1.isActionVisible('Export')==true) {
  Text1.text = 'Press toolbar button to export.';
}

Either syntax below can be used in component script:

isActionVisible               // unqualified
Crosstab1.isActionVisible    // qualified

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