Skip to content

Commit 0309532

Browse files
committed
improve rendering (try)
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
1 parent 367173e commit 0309532

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/report.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,12 @@ let table = new Tabulator("#report-table", {
135135
placeholder: "no report data found",
136136

137137
height: "800px",
138+
renderVerticalBuffer: 20000,
138139
layout: "fitColumns",
139140

141+
renderVertical: "virtual",
142+
renderHorizontal: "virtual",
143+
140144
pagination: true,
141145
paginationSize: 10,
142146
paginationSizeSelector: [5, 10, 25, 50, 100, 250, true],
@@ -225,6 +229,7 @@ table.on("tableBuilt", () => {
225229
refreshTableData();
226230
refreshTableFilter();
227231
table.restoreRedraw();
232+
table.redraw();
228233
});
229234
$(document).on("click", "#report-group-collapse", () => {
230235
table.blockRedraw();

0 commit comments

Comments
 (0)