ag-Grid React applyTransaction is not a function

Viewed 3467

I'm using:

  • "ag-grid-community": "^23.0.2"
  • "ag-grid-enterprise": "^23.0.2"
  • "ag-grid-react": "^23.0.3"

I use getSelectedRows (it returns the rows the selected rows ) then I try to use applyTransaction but it throws and error "gridApi.applyTransaction is not a function", the API is in the same scope, any ideas?

Thanks

2 Answers

From ag-grid changelogs we can see this:

enter image description here

So prior to ag-grid 23.1.0, we can use api.updateRowData() in place of applyTransaction

Related