Select only child rows in a tree grid
In a tree grid, I need to be able to select on click only child rows, not parent nodes (parent rows).
Is there a way to do this ?
Arash Ansari
asked
at 21 Apr 2024
Answers
-
You could use this js:
$(function () {
$('#TreeGrid1').on('click', '.awe-row:not(.awe-ghead)', function () {
var row = $(this);
row.toggleClass('awe-selected');
});
});Omuanswered at 21 Apr 2024