Hi,
I'm relatively new to Kendo MVC Grid and in the middle of building a new app with it...
I know that it is possible to delete a record if I use the "removeRow" from Kendo Grid if a have a reference to the current row i.e:
var grid = $(gridname).data("kendoGrid");var tr = $(e.target).closest("tr");grid.removeRow(tr);but what if I have no reference to the current row (e.target) because I want to delete a selected row from another popup view (see Picture)?
the following Code does'nt work:
var grid = $("#grid").data("kendoGrid");var dataitem = grid.dataItem(grid.select());grid.dataSource.remove(dataitem);grid.dataSource.sync();
please give me the info how is the best approach to remove a selected row from grid in my Situation?
regards robert