Skip to content
Snippets Groups Projects
Commit b0884707 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Change tabulator height in clipboard

parent 8abfa7a6
No related branches found
No related tags found
No related merge requests found
...@@ -103,13 +103,16 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) { ...@@ -103,13 +103,16 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
} }
connectedCallback() { connectedCallback() {
super.connectedCallback(); super.connectedCallback();
const that = this; const that = this;
this.updateComplete.then(() => { this.updateComplete.then(() => {
// see: http://tabulator.info/docs/4.7 // see: http://tabulator.info/docs/4.7
this.tabulatorTable = new Tabulator(this._("#clipboard-content-table"), { this.tabulatorTable = new Tabulator(this._("#clipboard-content-table"), {//if you delete the wrapper around the table you need to set a heigh here
maxHeight:"100%",
height:"100%",
layout: "fitColumns", layout: "fitColumns",
selectable: true, selectable: true,
selectableRangeMode: "drag", selectableRangeMode: "drag",
...@@ -323,6 +326,9 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) { ...@@ -323,6 +326,9 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
this.tabulatorTable.setData(data); this.tabulatorTable.setData(data);
} }
} }
if (this._("#select_all")) {
this._("#select_all").checked = false;
}
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment