Archived
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:
@@ -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