Hi Chris,
Thanks for contacting Syncfusion support,
We can collapse the expanded row using the “collapse” method .Here we have collapse the row, while deselecting the already selected row.
Code example for your reference
|
rowDeselect(){
this.grid.detailRowModule.collapse(this.grid.getSelectedRowIndexes())//collapse method will collapse expanded row
} |
Sample for your reference:
Regards,
Isuriya R