I have a grid setup with sorting enabled. Each row has a duplicate button. When duplicating a row, I would like to insert the new row just below the copied row. This works w
Apparently, agGrid themselves broke (well, depreciated) the addIndex
functionality in agGrid v23.1.... oh, but they then decided to bring it back with v24.1.
Yes, seriously.
So, the best way to fix this is to first, check if you have an older version of agGrid:
npm outdated
And if so, update it using:
npm install ag-grid-angularlatest
npm install ag-grid-community@latest
npm install ag-grid-enterprise@latest