focus before activate editing
This commit is contained in:
parent
e1e4ca5eee
commit
507b173243
@ -2538,6 +2538,8 @@ var CellManager = function () {
|
|||||||
}, {
|
}, {
|
||||||
key: 'activateEditing',
|
key: 'activateEditing',
|
||||||
value: function activateEditing($cell) {
|
value: function activateEditing($cell) {
|
||||||
|
this.focusCell($cell);
|
||||||
|
|
||||||
var _$$data6 = _dom2.default.data($cell),
|
var _$$data6 = _dom2.default.data($cell),
|
||||||
rowIndex = _$$data6.rowIndex,
|
rowIndex = _$$data6.rowIndex,
|
||||||
colIndex = _$$data6.colIndex;
|
colIndex = _$$data6.colIndex;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -326,6 +326,7 @@ export default class CellManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
activateEditing($cell) {
|
activateEditing($cell) {
|
||||||
|
this.focusCell($cell);
|
||||||
const { rowIndex, colIndex } = $.data($cell);
|
const { rowIndex, colIndex } = $.data($cell);
|
||||||
|
|
||||||
const col = this.columnmanager.getColumn(colIndex);
|
const col = this.columnmanager.getColumn(colIndex);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user