Edit this page

get_isInEditMode()

Returns a Boolean value, indicating whether the GridDataItem is in edit mode or not. Can be used to create a condition to execute script logic depending on the item status.

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server" AllowPaging="True"
    OnNeedDataSource="RadGrid1_NeedDataSource" AutoGenerateEditColumn="true">
    <ClientSettings>
        <ClientEvents OnRowCreated="rowCreated" />
    </ClientSettings>
    <MasterTableView DataKeyNames="OrderID">
    </MasterTableView>
</telerik:RadGrid>
function rowCreated(sender, args) {
    var item = args.get_item();
    if (item.get_isInEditMode()) {
        alert("Record " + item.get_itemIndex() + " is in edit mode.");
    }
}