JavaScript/jQuery FileManager - toolbar.fileSelectionItems
Configures settings of the toolbar items that are visible when users select files.

- $(function () {
- $("#file-manager").dxFileManager({
- toolbar: {
- fileSelectionItems: [
- "move", "copy", "rename",
- {
- widget: "dxButton",
- options: {
- text: "Share",
- icon: "arrowright"
- },
- location: "before",
- onClick: shareItem
- },
- // ...
- "separator", "delete", "refresh", "clear"
- ]
- }
- });
- });
cssClass
Specifies a CSS class to be applied to the item.
disabled
Specifies whether the UI component item responds to user interaction.
icon
Specifies the icon to be displayed on the toolbar item.
This property accepts one of the following:
- The icon's URL
- The icon's name if the icon is from the DevExtreme icon library
- The icon's CSS class if the icon is from an external icon library (see External Icon Libraries)
- The icon in the Base64 format
- The icon in the SVG format. Ensure that the source is reliable.
locateInMenu
Specifies when to display an item in the toolbar's overflow menu.
location
Specifies the toolbar item's location.
Whatever template you use for UI component items (default or a custom) will be located according to the value specified for the location field in the item data source object.
See Also
options
Configures the DevExtreme UI component used as a toolbar item.
showText
Specifies when to display the text for the UI component item.
text
Specifies text displayed for the UI component item.
If you use both this property and a template, the template overrides the text.
widget
The DevExtreme component to use as a Toolbar item.
To configure this component, use the options object.
If you use DevExtreme modules, import the specified editor's module from the
devextremefolder:Code- import 'devextreme/ui/tag_box';
This property is ignored for predefined toolbar items.