We have a callback function – onRowDetailUpdated{(index: number, row: Smart.Grid.Row, details: HTMLElement): void}. It is called each time the row detail is expanded/collapsed and requests an update.
On the first expansion, the onRowDetailInit event will be triggered after that each time you expand the details the onRowDetailUpdated will be triggered.
Should you need any further help, do not hesitate to contact us!