Removed table widget row deselection (#209)
This commit is contained in:
parent
0cb4d3733c
commit
0474e339f3
|
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user