remove rows animation
This commit is contained in:
parent
6917bf66a2
commit
2202540a06
1 changed files with 2 additions and 1 deletions
|
|
@ -128,6 +128,7 @@ const TableComponent = forwardRef<
|
||||||
>
|
>
|
||||||
<AgGridReact
|
<AgGridReact
|
||||||
{...props}
|
{...props}
|
||||||
|
animateRows={false}
|
||||||
className={cn(props.className, "cusm-scroll")}
|
className={cn(props.className, "cusm-scroll")}
|
||||||
defaultColDef={{
|
defaultColDef={{
|
||||||
minWidth: 100,
|
minWidth: 100,
|
||||||
|
|
@ -147,7 +148,7 @@ const TableComponent = forwardRef<
|
||||||
/>
|
/>
|
||||||
<TableOptions
|
<TableOptions
|
||||||
stateChange={columnStateChange}
|
stateChange={columnStateChange}
|
||||||
hasSelection={realRef.current?.api.getSelectedRows().length > 0}
|
hasSelection={realRef.current?.api?.getSelectedRows().length > 0}
|
||||||
duplicateRow={props.onDuplicate ? props.onDuplicate : undefined}
|
duplicateRow={props.onDuplicate ? props.onDuplicate : undefined}
|
||||||
deleteRow={props.onDelete ? props.onDelete : undefined}
|
deleteRow={props.onDelete ? props.onDelete : undefined}
|
||||||
resetGrid={() => {
|
resetGrid={() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue