Lines 219-233
export default {
Link Here
|
219 |
let dt = this.$refs.table.dt() |
219 |
let dt = this.$refs.table.dt() |
220 |
let table_node = dt.table().node() |
220 |
let table_node = dt.table().node() |
221 |
let add_filters = this.add_filters |
221 |
let add_filters = this.add_filters |
|
|
222 |
let filters_options = this.filters_options |
222 |
if (add_filters) { |
223 |
if (add_filters) { |
223 |
_dt_add_filters(table_node, dt, this.filters_options) |
224 |
_dt_add_filters(table_node, dt, filters_options) |
224 |
} |
225 |
} |
225 |
|
226 |
|
226 |
dt.on("column-visibility.dt", function () { |
227 |
dt.on("column-visibility.dt", function () { |
227 |
_dt_on_visibility(add_filters, table_node, dt) |
228 |
if (add_filters) { |
|
|
229 |
_dt_add_filters(table_node, dt, filters_options) |
230 |
} |
228 |
}) |
231 |
}) |
229 |
.columns(this.hidden_ids) |
|
|
230 |
.visible(false) |
231 |
|
232 |
|
232 |
dt.on("search.dt", function (e, settings) { |
233 |
dt.on("search.dt", function (e, settings) { |
233 |
toggledClearFilter( |
234 |
toggledClearFilter( |
234 |
- |
|
|