React FileManager - itemView
Configures the file and directory view.
Type:
NOTE
Set the itemView.mode property to details to configure columns in the UI component.

App.js
- import React from 'react';
- import 'devextreme/dist/css/dx.fluent.blue.light.css';
- import FileManager, { ItemView } from 'devextreme-react/file-manager';
- export default function App() {
- return (
- <FileManager>
- <ItemView
- mode="thumbnails"
- showFolders={false}
- showParentFolder={false}
- />
- </FileManager>
- );
- }
details
Configures the "Details" file system representation mode.
Type:

App.js
- import React from 'react';
- import 'devextreme/dist/css/dx.fluent.blue.light.css';
- import FileManager, { ItemView, Details, Column } from 'devextreme-react/file-manager';
- export default function App() {
- return (
- <FileManager>
- <ItemView>
- <Details>
- <Column dataField="thumbnail" />
- <Column dataField="name" />
- {/* ... */}
- </Details>
- </ItemView>
- </FileManager>
- );
- }
mode
Specifies the file system representation mode.
Type:
Default Value: 'details'
A user can use the view switcher on the toolbar to change the mode.
showFolders
Specifies whether to display folders in the view. When this property is false, folders are displayed in the navigation pane only.
Type:
Default Value: true