Hi, Ewgenij,
You can take advantage of the AngularJS syntax for getting the grid instance and the kendoRendered event to attach the mousedown handler:
<div kendo-grid="grid" options="mainGridOptions"></div>
$scope.$on("kendoRendered", function(){
$scope.grid.element.on("mousedown", "tr", function (e) {
var ok = confirm("Change selection?");
if (ok) {
$scope.grid.select(this);
}
});
});
https://dojo.telerik.com/@bubblemaster/AsUmIvUB/2
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Progress is here for your business, like always.
Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.