removeQuickAccessControl (value: Number);
value. Index of the button to be removed.
The removeQuickAccessControl method removes button from the quick access panel by its index.
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.
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: