Reloading Kendo Ui Grid The Row Item Code Executes An Error
I've a web application with kendo ui grid. The grid is load with Bakbone.js when I click a button and I can remove a row with the next code: $(document).on('click', '#grid tbody tr
Solution 1:
Not sure, but your grid is actually not the same grid but the old (before the reload) one and second grid is created.
Following line changed:
var item = $('#grid').data().kendoGrid.dataItem($(this).closest("tr"));
I suggest you to just change the data through the dataSource.data() method instead of recreating the Grid. Or change your logic so you actually destroy the widget before recreating it.
Post a Comment for "Reloading Kendo Ui Grid The Row Item Code Executes An Error"