Skip to main content

ASPxClientGridView.UnselectRowOnPage(visibleIndex) Method

Deselects the row specified by its visible index.

#Declaration

TypeScript
UnselectRowOnPage(
    visibleIndex: number
): void

#Parameters

Name Type Description
visibleIndex number

The row’s visible index.

#Remarks

The UnselectRowOnPage(visibleIndex) method deselects the row with the specified visible index within the current page.

When the row selection changes, the control raises the client-side ASPxClientGridView.SelectionChanged or the server-side ASPxGridBase.SelectionChanged event (based on the ProcessSelectionChangedOnServer property value).

<dx:ASPxGridView ClientInstanceName="grid" runat="server">
    <%--...--%>
</dx:ASPxGridView>
// Deselects the 1st row
grid.UnselectRowOnPage(0);

To select a row within the current page, call the SelectRowOnPage(visibleIndex) method.

See Also