Closed jbek7 closed 1 year ago
The gif is not visible.
Will be included in the next version: onDetailPanelChange?: (row: RowData, state: 'open' | 'closed') => void;
Great that should solve the problem that I'm having.
I am on the most up-to-date version of this and I am not getting onDetailPanelChange to trigger, has it not been released yet?
Is your feature request related to a problem? Please describe. I want to know which row's detail panel is opened/closed so I can run operations inside detail panel knowing which row's detail panel that I'm working with. Currently detailPanel property just passes rowData but it sends not only one but other row's rowData too which is not reliable. See the gif - it's from the doc's detail panel's live demo. I just added the log inside the detailPanel property to show what rowData brings.
Describe the solution you'd like It would be nice to have opened/closed hooks with rowData for detailPanel so we can keep track what's open/closed.