Closed Nic-S closed 1 year ago
We don't plan to add an API method to control the state of the actions menu. The state of the menu is controlled by the cell component. In API methods we can only control the global state. As alternative you need to render the dialog outside the grid.
Duplicates
Latest version
Summary 💡
It is common practice to have a confirmation dialogue for certain actions.
In order to compose better and improve performance, avoiding the rerendering of the component where the grid is, I would like the possibility to create the component with both actio and dialog.
Problem: If the action is in the menu, the solution described above is not possible because when the action is clicked in the menu, the popup is closed and consequently the dialogue is also unmounted.
Possible solutions:
Examples 🌈
https://codesandbox.io/s/eager-golick-2kgkb0?file=/demo.tsx
Motivation 🔦
No response
Order ID 💳 (optional)
No response