Ag grid implement sticky rowwith Add button on first cell

Hi guys ,I am using ag-Grid React v33 and need to implement a custom sticky row that appears immediately after the last row and remains sticky at the bottom when there are many rows. However, if there are only a few rows, the sticky row should appear only after the last row, without floating. the row should also not update on row height change. just like this
any ideas or tips?
image.png
Was this page helpful?