How would I implement the following (which is in an original MVC telerik grid onChange event handler) in a Kendo grid? Basically I need to capture the cancel click event and determine if it was from an add or an update.
$(e.form).find(".t-grid-cancel").click(function () { if (e.mode == "insert") { var urlPath = '@Url.Content( @"~\CatalogAdministration\RemoveBlankInventoryItem?inventoryItemId=")'; urlPath += key; $.post(urlPath); }});$(e.form).find(".t-grid").data("tGrid").ajaxRequest({ inventoryItemId: key });