Back to Devexpress

ASPxClientGridView.UnselectAllRowsOnPage Method

aspnet-js-aspxclientgridview-c4815a5f.md

latest1.1 KB
Original Source

ASPxClientGridView.UnselectAllRowsOnPage Method

Deselects the rows on the current page.

Declaration

ts
UnselectAllRowsOnPage(): void

Remarks

The UnselectAllRowsOnPage method deselects all rows 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).

aspx
<dx:ASPxGridView ClientInstanceName="grid" runat="server">
    <%--...--%>
</dx:ASPxGridView>
js
grid.UnselectAllRowsOnPage();

To select all rows within the current page, call the SelectAllRowsOnPage method.

See Also

ASPxClientGridView Class

ASPxClientGridView Members