Add Custom Toolbar Item in JavaScript File Manager

18 Nov 20181 minute to read

Use the toolbarItems API to modify the items displayed in the toolbar. When combining default and custom items, assign a unique name to each item so they can be managed independently. Default items can be customized by setting properties such as tooltipText, iconCss, text, suffixIcon, and template.

The example below demonstrates adding a custom checkbox to the toolbar using the template property. It also shows how to modify the default NewFolder item and add a custom toolbar item for selection.