WebDataSelection.SetSelection(Int32, Boolean) Method

Selects or unselects the specified row.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v20.1.dll

Declaration

public void SetSelection(
    int visibleIndex,
    bool selected
)
Public Sub SetSelection(
    visibleIndex As Integer,
    selected As Boolean
)

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