Merge pull request #2591 from tugcekucukoglu/master

Fixed #2562 - DataTable | column reorder is broken with hidden column
pull/2593/head
Tuğçe Küçükoğlu 2022-05-31 14:02:25 +03:00 committed by GitHub
commit 346f9ade26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }
} }