New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

cancelUpdate

Method which cancels the update for the edited table row passed as an argument or the row corresponding to the index passed as an argument.

cancelUpdate(gridItem)or cancelUpdate(index)
gridItemHTML row object -
The edited row that will be switched in non-editable mode.
indexIntegerThe row corresponding to the index will be switched in non-editable mode.

Example:

JavaScript
function CancelUpdateForFirstItem() {
    var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
    masterTable.cancelUpdate(masterTable.get_dataItems()[0].get_element());
}
Not finding the help you need?
Contact Support