Reputation: 137
I am trying to handle double click event for each row on kendo grid.Single click event is working by using k-on-change( k-on-change="methodname(dataItem.val)" ) , but i can not handle double click event from angularjs.
Upvotes: 0
Views: 2290
Reputation: 2811
Try this to get access to the element.
HTML
<div data-kendo-grid="grid" options="gridOptions"></div>
JS
$scope.$on("kendoWidgetCreated", function(event, widget){
if (widget === $scope.grid) {
$scope.grid.element.on('dblclick', function (e) {console.log(e)});
}
});
Upvotes: 4