Removed table widget row deselection (#209)

This commit is contained in:
vicky-primathon 2020-08-03 19:14:34 +05:30 committed by GitHub
parent 0cb4d3733c
commit 0474e339f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -71,7 +71,6 @@ interface ReactTableComponentProps {
onCommandClick: (dynamicTrigger: string, onComplete: () => void) => void;
updatePageNo: Function;
updateHiddenColumns: (hiddenColumns?: string[]) => void;
resetSelectedRowIndex: Function;
nextPageClick: Function;
prevPageClick: Function;
pageNo: number;
@ -271,8 +270,6 @@ const ReactTableComponent = (props: ReactTableComponentProps) => {
) => {
if (!isSelected) {
props.onRowClick(row.original, row.index);
} else {
props.resetSelectedRowIndex();
}
};

View File

@ -276,7 +276,6 @@ class TableWidget extends BaseWidget<TableWidgetProps, WidgetState> {
super.updateWidgetProperty("columnOrder", columnOrder);
}}
columnSizeMap={this.props.columnSizeMap}
resetSelectedRowIndex={this.resetSelectedRowIndex}
disableDrag={(disable: boolean) => {
this.disableDrag(disable);
}}