Skip to content

Commit

Permalink
[FIX] BaseTable change connections on select
Browse files Browse the repository at this point in the history
  • Loading branch information
Artkrygin committed Sep 29, 2021
1 parent 287c25d commit 2224b17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/table/basetable/ReactBaseTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export const EditableTable: React.FC<EditableTableProps<any>> = React.memo(
}
}
setSelection(newSelection);
onSelect(newSelection);
};

const handleSelectHeaderChange = ({ selected, data }: any) => {
Expand All @@ -171,6 +172,7 @@ export const EditableTable: React.FC<EditableTableProps<any>> = React.memo(
newSelection = [];
}
setSelection(newSelection);
onSelect(newSelection);
};
const selectionColumn = {
key: '__selection__',
Expand Down

0 comments on commit 2224b17

Please sign in to comment.