Skip to main content

FileManagerDetailsColumnBuilder.DataField(String) Method

Specifies which data field provides data for the column. Mirrors the client-side dataField option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileManagerDetailsColumnBuilder DataField(
    string value
)

Parameters

Name Type Description
value String

The option value.

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().DataField("thumbnail");
              //...
            )}
        )}
    )
)
See Also