I am using Kendo UI Grid master detail template like in this docs http://demos.telerik.com/kendo-ui/grid/angular , I am able to get the template by clicking in the hierarchy cell, I want to know if there is some easy way to expand the detail template by clicking anywhere on row.
Thanks!
To do that you can follow these steps:
k-on-change="handleChange(kendoEvent)"
to trigger the function when we select any row,k-rebind="gridOptions.selectable"
,<div kendo-grid="grid"></div>
so later on we can select the grid instance$scope.handleChange = function(kendoEvent){....}
to handle the eventEDIT:
$scope.grid.collapseRow($scope.grid.tbody.find("tr.k-master-row"));
before$scope.grid.expandRow($scope.grid.tbody.find("tr.k-master-row.k-state-selected"));
. Updated dojo