JavaScript/jQuery FileManager - itemView.details.columns

Configures the columns.

Default Value: ['thumbnail', 'name', 'dateModified', 'size']

This property accepts an array of objects, where each object configures a single column. If a column does not need to be customized, this array may include the name of the field that provides data for this column.

alignment

Specifies the column alignment.

Default Value: undefined
Accepted Values: undefined

caption

Specifies the column caption.

Type:

String

Default Value: undefined

cssClass

Specifies a CSS class to be applied to the column.

Type:

String

Default Value: undefined

dataField

Specifies which data field provides data for the column.

Type:

String

Default Value: undefined

dataType

Casts column values to a specific data type.

Type:

DataType

Default Value: undefined

If a data field provides values of one data type but the UI component should cast them to another, specify the type in this property.

hidingPriority

Specifies the order in which columns are hidden when the UI component adapts to the screen or container size.

Type:

Number

Default Value: undefined

The hidingPriority is a unique positive integer that ascends from right to left beginning with 0. Columns with low hidingPriority are hidden first.

sortIndex

Specifies the order in which the column is sorted.

Type:

Number

Default Value: undefined

The UI component adds a column to the collection of sorted columns once this column is sorted. Use the sortIndex property to change the order of sorted columns.

sortOrder

Specifies the sort order of column values.

Type:

SortOrder

Default Value: undefined
Accepted Values: undefined

Use the sortOrder and the sortIndex properties to sort file system items by multiple columns.

visible

Specifies the column visibility.

Type:

Boolean

Default Value: true

visibleIndex

Specifies the position of the column in the resulting UI component.

Type:

Number

Default Value: undefined

Visible indexes are normalized after the UI component's creation: the leftmost column is assigned an index of 0; the rightmost column's index becomes equal to the number of visible columns minus 1; other columns get the indexes in between.

width

Specifies the column width.

Type:

Number

|

String

Default Value: undefined