Search results

How to enable/disable toolbar item/items

The toolbar items can be enabled/disabled by specifying the items in enableToolbarItems or disableToolbarItems methods respectively.

The following example shows enabling and disabling toolbar items on button click.

The new toolbar button is added using toolbarSettings. The toolbarClick event is used to add an event handler to the new toolbar button.

Output be like the below when enable toolbar item.

FileManager enable toolbar items

Output be like the below when enable toolbar item.

FileManager disable toolbar items