removeButton

Identifies the buttons to remove from the ToolbarBlox (before it appears to the user).

Syntax

removeButton = "removeButton"

where:

Argument Default Description
removeButton "Save,Load" Comma-delimited string of button names.

Usage

The value is a quoted, comma-delimited list of button names, such as “Save, Load”, which removes those buttons from the toolbar, thus removing user access to the Save/Load application state function. The possible values for the button names are Chart, Layout, Grid, Swap, Bookmark, Help, Load, Save.
Tip: The list you supply in setremoveButton() method will overwrite the default. If you do not want the Save and Load buttons, make sure you include them in your list of buttons to remove. To remove buttons not listed here, use the Blox UI tags.
Tip: The Save and Load buttons allow a user to save the state of the application as private or public in much the same way as the bookmark functionality. The difference is, when you have multiple presentation Blox that are not nested, the Save and Load buttons will save the state of all Blox on the page automatically and you do not need to specify which Blox you want to save the state, as is the case with the bookmark functionality. The saved application states are managed separately from bookmarks, so you may want to avoid confusion by offering only the bookmark or the save/load application state functionality.

Examples

removeButton="Chart,Save,Load"
Related information
toolbar and toolbarButton components