Merge pull request #2591 from tugcekucukoglu/master
Fixed #2562 - DataTable | column reorder is broken with hidden columnpull/2593/head
commit
346f9ade26
|
@ -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