Skip to content

Commit

Permalink
amend ag grid api in ag-grid-adaptor (#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
heswell authored May 1, 2024
1 parent d618f9c commit e60753f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export const useViewportRowModel = ({
);

const handleGridColumnsChanged = useCallback((evt) => {
const allColumns = evt.columnApi.getAllColumns();
const allColumns = evt.api.getAllGridColumns();
const colDefs = allColumns.map(
(col: { colDef: AgGridColDef }) => col.colDef
);
Expand Down

0 comments on commit e60753f

Please sign in to comment.