FileManagerItemViewDetailsBuilder.Columns(Action<CollectionFactory<FileManagerDetailsColumnBuilder>>) Method
Configures the columns. Mirrors the client-side columns option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public FileManagerItemViewDetailsBuilder Columns(
Action<CollectionFactory<FileManagerDetailsColumnBuilder>> configurator
)
Parameters
Name | Type | Description |
---|---|---|
configurator | Action<CollectionFactory<FileManagerDetailsColumnBuilder>> | A function that configures the details item view mode. |
Returns
Type | Description |
---|---|
FileManagerItemViewDetailsBuilder | 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");
columns.Add().DataField("name");
//...
)}
)}
)
)
See Also