Ribbon.removeQuickAccessControl

Syntax

removeQuickAccessControl (value: Number);

Parameters

value. Index of the button to be removed.

Description

The removeQuickAccessControl method removes button from the quick access panel by its index.

Comments

The quick access toolbar is located at the right of the application button.

To add controls on the quick access toolbar, use the addCategory method.

Example

To execute the example, the HTML page must contain the Ribbon component named ribbon. At least one button must be available on the quick access toolbar (see Example of Creating the Ribbon Component). Remove the button with the 0 index from the quick access toolbar.

ribbon.removeQuickAccessControl(0);

After executing the example the first button on the quick access toolbar is removed.

See also:

Ribbon