Properly update table headers (#1166)
This commit is contained in:
parent
6b4d6f986e
commit
5d235038ad
|
@ -431,7 +431,7 @@ export default class TableEntityListViewModel extends DataTableViewModel {
|
||||||
if (newHeaders.length > 0) {
|
if (newHeaders.length > 0) {
|
||||||
// Any new columns found will be added into headers array, which will trigger a re-render of the DataTable.
|
// Any new columns found will be added into headers array, which will trigger a re-render of the DataTable.
|
||||||
// So there is no need to call it here.
|
// So there is no need to call it here.
|
||||||
this.updateHeaders(newHeaders, /* notifyColumnChanges */ true);
|
this.updateHeaders(selectedHeadersUnion, /* notifyColumnChanges */ true);
|
||||||
} else {
|
} else {
|
||||||
if (columnSortOrder) {
|
if (columnSortOrder) {
|
||||||
this.sortColumns(columnSortOrder, oSettings);
|
this.sortColumns(columnSortOrder, oSettings);
|
||||||
|
|
Loading…
Reference in New Issue