2

Relayout Tabulator after column visibility changes

This commit is contained in:
2026-03-12 21:12:27 +01:00
parent 1ede2a0864
commit 2cf7bbf1a7

View File

@@ -1404,6 +1404,15 @@ const queryLogHTML = `<!doctype html>
document.getElementById('controls-summary').textContent = parts.length ? parts.join(' · ') : 'No active filters.';
}
function relayoutTable() {
if (!table) {
return;
}
window.requestAnimationFrame(function() {
table.redraw(true);
});
}
function applyColumnPreferences() {
if (!table) {
return;
@@ -1419,6 +1428,7 @@ const queryLogHTML = `<!doctype html>
column.show();
}
}
relayoutTable();
}
function buildAjaxURL(url, config, params) {