FileManagerDetailsColumnBuilder.DataType(GridColumnDataType) Method

Mirrors the client-side dataType option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileManagerDetailsColumnBuilder DataType(
    GridColumnDataType value
)

Parameters

Name Type Description
value GridColumnDataType

One of the enumeration values.

Returns

Type Description
FileManagerDetailsColumnBuilder

A reference to this instance after the method is called.

Remarks

@(Html.DevExtreme().FileManager()
    .ItemView(view => view
        .Mode(FileManagerItemViewMode.Details)
        .Details(details => {
            details.Columns(columns => {
              columns.Add().DataType(GridColumnDataType.Date);
              //...
            )}
        )}
    )
)
See Also