Skip to main content

WebDataSelection.SetSelection(Int32, Boolean) Method

Selects or unselects the specified row.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v22.1.dll

NuGet Package: DevExpress.Web


public void SetSelection(
    int visibleIndex,
    bool selected


Name Type Description
visibleIndex Int32

An integer value that identifies the row by its visible index.

selected Boolean

true to select the row; false to unselect the row.

See Also