mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 08:21:37 +08:00
Save table content after adding row or columns [SCI-10827]
This commit is contained in:
parent
9642f173d9
commit
302e7366b9
1 changed files with 6 additions and 0 deletions
|
|
@ -312,6 +312,12 @@ export default {
|
||||||
afterRemoveCol: () => {
|
afterRemoveCol: () => {
|
||||||
this.updateTableData();
|
this.updateTableData();
|
||||||
},
|
},
|
||||||
|
afterCreateCol: () => {
|
||||||
|
this.updateTableData();
|
||||||
|
},
|
||||||
|
afterCreateRow: () => {
|
||||||
|
this.updateTableData();
|
||||||
|
},
|
||||||
beforeKeyDown: (e) => {
|
beforeKeyDown: (e) => {
|
||||||
if (e.keyCode === 27) { // esc
|
if (e.keyCode === 27) { // esc
|
||||||
this.editingCell = false;
|
this.editingCell = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue