mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue while selecting the row which was deleted just before the selection operation. Fixes #6306
This commit is contained in:
committed by
Akshay Joshi
parent
0ed47fcd2b
commit
9853d8bfd6
@@ -108,7 +108,7 @@ define([
|
||||
}
|
||||
|
||||
if (isClickingLastClickedHeader(rowClicked, 1)) {
|
||||
if (isSingleRangeSelected()) {
|
||||
if (isSingleRangeSelected() || grid.getSelectionModel().getSelectedRanges().length === 0) {
|
||||
grid.resetActiveCell();
|
||||
} else {
|
||||
grid.setActiveCell(retrievePreviousSelectedRange().fromRow, 1);
|
||||
|
||||
Reference in New Issue
Block a user