i want expand and collapse row on select in kendo grid for MVC UI
问题 i am trying to expand row on select and collapse same row on click by using Kendo Grid for Mvc UI ,, How to Check the CSS class of the arrow icon in the selected row - k-plus status ,, in the other words i would like to check if selected row is expanded or not. 回答1: Use this script: selectable: true, change: function() { let $row = this.select(); if ($row.length && $row.find('[aria-expanded="true"]').length) { this.collapseRow($row); } else { this.expandRow($row); } } It checks if the row is