Closed
Description
Is your feature request related to a problem? Please describe.
One of my resource has a filter which when changes its value, changes list completely so expanded panels makes no sense.
Describe the solution you'd like
My suggestion is adding param closeExpandedOnRefresh
to Datagrid
(List
?) to close all expanded panels when resource is refreshed. Currently, AFAIK there's no possibility to add such functionality manually.
Additional context
Adding RFC as I'm not sure if this make sense for you. I don't want to pollute framework with features that serves only small fraction of users. Maybe instead would be better to add onChange
callback to list and additionally expose hook for closing panels.
Anyways I'm willing to help!