New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

deleteItem

Method which deletes the table row passed as an argument or the row corresponding to the index passed as an argument.

deleteItem(gridItem) or deleteItem(index)
gridItem HTML row object -
The row that will be deleted.
index Integer The row corresponding to the index will be deleted.

Example:

function DeleteFirstItem() {
    var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
    masterTable.deleteItem(masterTable.get_dataItems()[0].get_element());
}
In this article
Not finding the help you need? Improve this article