Fixed #2562 - DataTable | column reorder is broken with hidden column

pull/2591/head
Tuğçe Küçükoğlu 2022-05-31 14:01:39 +03:00
parent 63984a7e6b
commit f2417ef53f
1 changed files with 1 additions and 1 deletions

View File

@ -1806,7 +1806,7 @@ export default {
let orderedColumns = [];
for (let columnKey of this.d_columnOrder) {
let column = this.findColumnByKey(cols, columnKey);
if (column) {
if (column && !this.columnProp(column, 'hidden')) {
orderedColumns.push(column);
}
}