mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #7138 from wandji20/wb-SCI-10210
Default table to try and fit all columns to screen [SCI-10210]
This commit is contained in:
commit
5d3bbe7703
1 changed files with 2 additions and 3 deletions
|
@ -336,7 +336,7 @@ export default {
|
|||
}
|
||||
} else {
|
||||
this.initializing = false;
|
||||
this.saveTableState();
|
||||
this.gridApi.sizeColumnsToFit();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -549,8 +549,7 @@ export default {
|
|||
},
|
||||
resetColumnsToDefault() {
|
||||
this.columnApi.resetColumnState();
|
||||
this.columnApi.autoSizeAllColumns();
|
||||
this.saveTableState();
|
||||
this.gridApi.sizeColumnsToFit();
|
||||
},
|
||||
getOrder(columnsState) {
|
||||
if (!columnsState) return null;
|
||||
|
|
Loading…
Reference in a new issue