disabling columns, header filters, sort persistence in tabulator where presets are used

This commit is contained in:
adisposkofh
2026-07-29 09:56:00 +02:00
parent 2107c0839f
commit 6a786df198
+10
View File
@@ -333,6 +333,16 @@ export const CoreFilterCmpt = {
...(this.tabulatorOptions || {}),
};
if (
this.$props.isUsingPresets &&
"tabulatorPreset-" + this.$props.presetsId in
window.localStorage
) {
tabulatorOptions.persistence.columns = false;
tabulatorOptions.persistence.headerFilter = false;
tabulatorOptions.persistence.sort = false;
}
if (tabulatorOptions.locale) {
tabulatorOptions =
await this.configureTabulatorLocalizations(