mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix for table component checkbox selection focus the previous active … (#20301)
* Fix for table component checkbox selection focus the previous active row instead of newly checked row * comment updated
This commit is contained in:
committed by
GitHub
parent
4d91a32bed
commit
0e05c32f15
@@ -191,7 +191,8 @@ export class CheckboxSelectColumn<T extends Slick.SlickData> implements Slick.Pl
|
|||||||
this._grid.render();
|
this._grid.render();
|
||||||
}
|
}
|
||||||
|
|
||||||
//Ensure that the focus stays correct
|
//Ensure that the focus stays on current selected checkbox cell
|
||||||
|
this._grid.setActiveCell(row, col);
|
||||||
if (this._grid.getActiveCellNode()) {
|
if (this._grid.getActiveCellNode()) {
|
||||||
this._grid.getActiveCellNode().focus();
|
this._grid.getActiveCellNode().focus();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user