Angular FileManager - itemView

Configures the file and directory view.

Selector: dxo-item-view
Type:

Object

Default Value: null

NOTE
Set the itemView.mode property to details to configure columns in the UI component.

View Demo

DevExtreme File Manager - Item View

app.component.html
app.module.ts
  • <dx-file-manager>
  • <dxo-item-view
  • mode="thumbnails"
  • showFolders="false"
  • showParentFolder="false" >
  • </dxo-item-view>
  • <!-- ... -->
  • </dx-file-manager>
  • import { BrowserModule } from '@angular/platform-browser';
  • import { NgModule } from '@angular/core';
  • import { AppComponent } from './app.component';
  • import { DxFileManagerModule } from 'devextreme-angular';
  •  
  • @NgModule({
  • declarations: [
  • AppComponent
  • ],
  • imports: [
  • BrowserModule,
  • DxFileManagerModule
  • ],
  • //...
  • })
  • export class AppModule { }

details

Configures the "Details" file system representation mode.

Selector: dxo-details
Type:

Object

DevExtreme File Manager - Columns

app.component.html
app.module.ts
  • <dx-file-manager>
  • <dxo-item-view>
  • <dxo-details>
  • <dxi-column dataField="thumbnail"></dxi-column>
  • <dxi-column dataField="name"></dxi-column>
  • <!-- ... -->
  • </dxo-details>
  • </dxo-item-view>
  • </dx-file-manager>
  • import { BrowserModule } from '@angular/platform-browser';
  • import { NgModule } from '@angular/core';
  • import { AppComponent } from './app.component';
  • import { DxFileManagerModule } from 'devextreme-angular';
  •  
  • @NgModule({
  • declarations: [
  • AppComponent
  • ],
  • imports: [
  • BrowserModule,
  • DxFileManagerModule
  • ],
  • //...
  • })
  • export class AppModule { }

mode

Specifies the file system representation mode.

Type:

String

Default Value: 'details'
Accepted Values: 'details' | 'thumbnails'

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:

Boolean

Default Value: true

showParentFolder

Specifies whether to display the parent directory in the view.

Type:

Boolean

Default Value: true