Back to Devexpress

TreeListBuilder<T>.FocusedColumnIndex(Int32) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treelistbuilder-1-dot-focusedcolumnindex-x28-system-dot-int32-x29.md

latest1.4 KB
Original Source

TreeListBuilder<T>.FocusedColumnIndex(Int32) Method

The index of the column that contains the focused data cell. This index is taken from the columns array. Mirrors the client-side focusedColumnIndex option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TreeListBuilder<T> FocusedColumnIndex(
    int value
)

Parameters

NameTypeDescription
valueInt32

The option value.

|

Returns

TypeDescription
TreeListBuilder<T>

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().TreeList()
    .FocusedColumnIndex(10)
)

See Also

TreeListBuilder<T> Class

TreeListBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace