Hello,
I think I found a new bug. We deactivated the delete confirmation with the DisplayDeleteConfirmation-property. Works perfectly for the delete-button in the grid. Only problem: When I delete a row manually the confirmation is still shown.
Here my code:
hope this will be fixed soon. And a method for deleting all rows of a grid would also be very nice :)
Best regards,
Mathias
I think I found a new bug. We deactivated the delete confirmation with the DisplayDeleteConfirmation-property. Works perfectly for the delete-button in the grid. Only problem: When I delete a row manually the confirmation is still shown.
Here my code:
function myFunction(){ var gridChoosenValues = $('#MyGrid').data("kendoGrid"); var choosenItems = gridChoosenValues.items(); for (var i = 0; i < choosenItems.length; i++) //delete every row { grid.removeRow(choosenItems[i]); //this triggers delete confirmation :( }}hope this will be fixed soon. And a method for deleting all rows of a grid would also be very nice :)
Best regards,
Mathias