|
Lines 125-131
Link Here
|
| 125 |
|
125 |
|
| 126 |
function update_columns_visibility(settings){ |
126 |
function update_columns_visibility(settings){ |
| 127 |
let table = settings.oInstance.api(); |
127 |
let table = settings.oInstance.api(); |
| 128 |
table.columns().visible(true); |
128 |
table.columns().visible(true, false); |
| 129 |
table.columns().every(function(i){ |
129 |
table.columns().every(function(i){ |
| 130 |
let is_empty = true; |
130 |
let is_empty = true; |
| 131 |
let nodes = this.nodes(); |
131 |
let nodes = this.nodes(); |
|
Lines 136-142
Link Here
|
| 136 |
} |
136 |
} |
| 137 |
}); |
137 |
}); |
| 138 |
if ( is_empty ) { |
138 |
if ( is_empty ) { |
| 139 |
table.columns(i).visible(false); |
139 |
table.columns(i).visible(false, false); |
| 140 |
} |
140 |
} |
| 141 |
}); |
141 |
}); |
| 142 |
} |
142 |
} |
| 143 |
- |
|
|