Copy and paste, serverSide rowModelType in Dash Aggrid

Hi everyone,

I need your support. In my app, I’m implementing Dash AG Grid with a “server-side” row model, and I’d like to add a copy-and-paste feature for the data in the grid.

  1. I’ve already added a feature to add a new row. When I click the “Add Row” button, a new row is added to the grid, and a corresponding row is also added to the dataframe.

  2. Now, I want to copy an existing row in the grid and paste it as a new row.
    However, I’m encountering a problem: the data does not update in the dataframe; it only appears on the screen and doesn’t reflect in the dataframe.

  3. How can I resolve this issue? I tried using the cellValueChange attribute to capture data changes when a cell’s value is modified, but it only updates one row at a time. This approach fails when I attempt to copy and paste multiple rows.

Thank you for your help

Hi @ducnv

What version are you on? This sounds like a bug that was fixed a while ago.

1 Like

Hi @AnnMarieW
Thank you for replying. Yes, it seems that I was using an old version. I updated to a newer version, and the error is gone.
Thank you very much

2 Likes