From 2224b179e0df7a2f19c903847a1a69886c406642 Mon Sep 17 00:00:00 2001 From: artkrygin Date: Wed, 29 Sep 2021 23:36:03 +0300 Subject: [PATCH] [FIX] BaseTable change connections on select --- src/table/basetable/ReactBaseTable.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/table/basetable/ReactBaseTable.tsx b/src/table/basetable/ReactBaseTable.tsx index 825eb3c..ba524e6 100644 --- a/src/table/basetable/ReactBaseTable.tsx +++ b/src/table/basetable/ReactBaseTable.tsx @@ -161,6 +161,7 @@ export const EditableTable: React.FC> = React.memo( } } setSelection(newSelection); + onSelect(newSelection); }; const handleSelectHeaderChange = ({ selected, data }: any) => { @@ -171,6 +172,7 @@ export const EditableTable: React.FC> = React.memo( newSelection = []; } setSelection(newSelection); + onSelect(newSelection); }; const selectionColumn = { key: '__selection__',