Skip to content

Commit

Permalink
Merge pull request #320 from commandprompt/tabulator-upgrade
Browse files Browse the repository at this point in the history
update tabulator-tables from 5.5.2 to 6.2
  • Loading branch information
eug3nix authored Apr 4, 2024
2 parents 31330d1 + 769f8f1 commit c79d811
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"splitpanes": "^3.1.5",
"sql-autocomplete": "^1.1.1",
"sql-formatter": "^12.2.4",
"tabulator-tables": "^5.5.2",
"tabulator-tables": "6.2",
"vue": "^3.3.11",
"vue-toast-notification": "^3.1.2",
"xterm": "^5.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export default {
setupTabulator() {
this.table = new Tabulator(`#${this.tabId}_commands_history_table`, {
placeholder: "No Data Available",
selectable: true,
selectableRows: true,
layout: "fitDataStretch",
width: '100%',
clipboard: "copy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default {
headerHozAlign: "left",
headerSort: false,
},
selectable: false,
selectableRows: false,
rowFormatter: this.rowFormatter
})
this.tabulator.on("cellEdited", this.cellEdited);
Expand All @@ -130,7 +130,7 @@ export default {
requestAnimationFrame(() => {
requestAnimationFrame(() => {
this.handleResize()
this.tabulator.redraw(true);
this.tabulator.redraw();
})
})
})
Expand All @@ -139,7 +139,7 @@ export default {
},
updated() {
this.handleResize()
this.tabulator.redraw(true);
this.tabulator.redraw();
},
methods: {
actionsFormatter(cell, formatterParams, onRendered) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default {
return updatedDefinitions;
},
selectable: true,
selectableRows: true,
clipboard: "copy",
clipboardCopyConfig: {
columnHeaders: false, //do not include column headers in clipboard output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export default {
data: data.data,
height: "100%",
layout: "fitDataStretch",
selectable: true,
selectableRows: true,
clipboard: "copy",
clipboardCopyConfig: {
columnHeaders: false, //do not include column headers in clipboard output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default {
data: [],
placeholderHeaderFilter: "No Matching Data",
autoResize: false,
selectable: true,
selectableRows: true,
height: "90%",
layout: "fitDataStretch",
columnDefaults: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default {
},
],
layout: "fitColumns",
selectable: false,
selectableRows: false,
});
},
setupEditor() {
Expand Down

0 comments on commit c79d811

Please sign in to comment.