Fixed #2562 - DataTable | column reorder is broken with hidden column
parent
63984a7e6b
commit
f2417ef53f
|
@ -1806,7 +1806,7 @@ export default {
|
||||||
let orderedColumns = [];
|
let orderedColumns = [];
|
||||||
for (let columnKey of this.d_columnOrder) {
|
for (let columnKey of this.d_columnOrder) {
|
||||||
let column = this.findColumnByKey(cols, columnKey);
|
let column = this.findColumnByKey(cols, columnKey);
|
||||||
if (column) {
|
if (column && !this.columnProp(column, 'hidden')) {
|
||||||
orderedColumns.push(column);
|
orderedColumns.push(column);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue