Collapse row event

Tags: #<Tag:0x00007efc64684248>

Do we have any event in handsontable 8 for collapserow().

My requirement: I have an icon in the child row, may be in the first column. The parent should show an icon only if the child is collapsed and having an icon.
Can you please help on this.

Hi @krishnendhu.k

there is no hook for collapsing parents for nestedRows. However, you can track clicks made on the icon via afterOnCellMouseDown hook (docs https://handsontable.com/docs/8.0.0/Hooks.html#event:afterOnCellMouseDown).

afterOnCellMouseDown: function(e, coords, TD){
    	if(coords.col < 0){
      	//row header
        console.log(e.target) // clicked element
      }
}