Issue in ag grid with dash 3.0 - Column flash changing order

Hi,

I have been using ag-grid as follows: I have a grid, and then the user can, for example, add a column. For “lazy” reasons instead of updating the grid. I just sent back a new one instead; i.e., it’s a child, so I return the new tab as the new child of the div.

Anyway, the bug is as follows: in dash 2.18.2 everything works perfectly. But in 3.0.2 the column order is not respected (the user can choose it). More exactly, the grid appears with the correct column order and then disappears in a flash to bring back the old one.

I have confirmed that it’s the dash version by uninstalling and reinstalling the version without changing the code.

My guess is as follows :
In dash 3.0 one of the change is that dash don’t reupdate all the compenent probably linked with the id. And when I return the new grid it has the same id. But I expect the old to be removed since it doesn’t exist.

Anyway to solve it or correct this behavior ?

Thanks,
Ramzy

Hello @ramzy22,

Which AG Grid version are you using? 3.0 is only compatible with 31.3.1+.

If using 31.3.1, please provide a minimal example app to reproduce.

Hello,

Yes I am using version ‘31.3.1’. I will send you a mwe when I get home, thanks for the help.