Edit this page

clearActiveRow

Method which clears the active row in the grid. The setting will be persisted across postbacks/ajax requests.

clearActiveRow()

Example:

function clearActiveRowInGrid(sender, args) {
    var grid = $find("<%=RadGrid1.ClientID %>");
    grid.clearActiveRow();
}
note

Please note that this method will work only when Keyboard Navigation and Row Selection of RadGrid are enabled.

<ClientSettings AllowKeyboardNavigation="true">
    <Selecting AllowRowSelect="true" />
</ClientSettings>