Skip to content

Commit bcfe170

Browse files
committed
rendering fix after table adjustment
1 parent f59a050 commit bcfe170

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/DataHarmonizer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class DataHarmonizer {
359359
callback() {self.context.schemaEditor.saveSchema()}
360360
},
361361
preview_schema: {
362-
name: 'Preview',
362+
name: 'Demo',
363363
hidden() {
364364
return self.template_name != 'Schema';
365365
},
@@ -1225,6 +1225,8 @@ class DataHarmonizer {
12251225
...options,
12261226
};
12271227
this.hot.updateSettings({ columns: currentColumns });
1228+
// updateSettings({columns}) resets HOT's hidden-columns plugin state; re-apply concise view.
1229+
if (this._conciseViewActive) this.context.toolbar?._applyConciseView(this);
12281230
}
12291231

12301232
/** Called via Footer.js, and also in right click menu DH contextMenu click

0 commit comments

Comments
 (0)