refactor: Update TableComponent to call onGridReady after setting column state change flag
This commit is contained in:
parent
e8ee275145
commit
6918fadaed
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,6 @@ const TableComponent = forwardRef<
|
|||
applyOrder: true,
|
||||
});
|
||||
}
|
||||
if (props.onGridReady) props.onGridReady(params);
|
||||
setTimeout(() => {
|
||||
if (customInit && realRef.current) {
|
||||
setColumnStateChange(true);
|
||||
|
|
@ -108,6 +107,7 @@ const TableComponent = forwardRef<
|
|||
setTimeout(() => {
|
||||
realRef.current.api.hideOverlay();
|
||||
}, 1000);
|
||||
if (props.onGridReady) props.onGridReady(params);
|
||||
};
|
||||
const onColumnMoved = (params) => {
|
||||
const updatedColumnDefs = makeLastColumnNonResizable(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue