Skip to main content

WebDataSelection.SetSelection(Int32, Boolean) Method

Selects or unselects the specified row.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void SetSelection(
    int visibleIndex,
    bool selected
)

Parameters

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