fileSelectionItems[]
Type:
Default Value: [ 'download', 'separator', 'move', 'copy', 'rename', 'separator', 'delete', 'clearSelection', { name: 'separator', location: 'after' }, 'refresh' ]
Accepted Values: 'showNavPane' | 'create' | 'upload' | 'refresh' | 'switchView' | 'download' | 'move' | 'copy' | 'rename' | 'delete' | 'clearSelection' | 'separator'
items[]
Type:
Default Value: [ 'showNavPane', 'create', 'upload', 'switchView', { name: 'separator', location: 'after' }, 'refresh' ]
Accepted Values: 'showNavPane' | 'create' | 'upload' | 'refresh' | 'switchView' | 'download' | 'move' | 'copy' | 'rename' | 'delete' | 'clearSelection' | 'separator'
The FileManager UI component allows you to add default and create custom toolbar items.
JavaScript
- $(function () {
- $("#file-manager").dxFileManager({
- toolbar: {
- items: [
- {
- name: "showNavPane",
- visible: true
- },
- "separator", "create",
- {
- widget: "dxMenu",
- location: "before",
- options: {
- items: [
- {
- text: "Create new file",
- items: [
- {
- text: "Plain text document",
- extension: ".txt",
- onClick: onItemClick
- },]
- }
- ]
- }
- }]
- }
- });
- });
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.