Merge branch 'master' into mongo

This commit is contained in:
Jan Prochazka
2021-04-05 13:30:31 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -359,7 +359,7 @@
grider.endUpdate();
}
export function insertNewRow() {
export async function insertNewRow() {
if (grider.canInsert) {
const rowIndex = grider.insertRow();
const cell = [rowIndex, (currentCell && currentCell[1]) || 0];
@@ -367,6 +367,7 @@
currentCell = cell;
// @ts-ignore
selectedCells = [cell];
await tick();
scrollIntoView(cell);
}
}