New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
clearActiveRow
Method which clears the active row in the grid. The setting will be persisted across postbacks/ajax requests.
clearActiveRow() |
---|
Example:
JavaScript
function clearActiveRowInGrid(sender, args) {
var grid = $find("<%=RadGrid1.ClientID %>");
grid.clearActiveRow();
}
Please note that this method will work only when Keyboard Navigation and Row Selection of RadGrid are enabled.
ASP.NET
<ClientSettings AllowKeyboardNavigation="true">
<Selecting AllowRowSelect="true" />
</ClientSettings>