Lines 1128-1135
function _dt_add_delay_filters(table_dt, table_node) {
Link Here
|
1128 |
let col_input_search = DataTable.util.debounce(function (i, val) { |
1128 |
let col_input_search = DataTable.util.debounce(function (i, val) { |
1129 |
table_dt.column(i).search(val).draw(); |
1129 |
table_dt.column(i).search(val).draw(); |
1130 |
}, delay_ms); |
1130 |
}, delay_ms); |
1131 |
let col_select_search = DataTable.util.debounce(function (i, val) { |
1131 |
let col_select_search = DataTable.util.debounce(function ( |
1132 |
table_dt.column(i).search(val, true, false).draw(); |
1132 |
i, |
|
|
1133 |
val, |
1134 |
regex_search = true |
1135 |
) { |
1136 |
table_dt.column(i).search(val, regex_search, false).draw(); |
1133 |
}, delay_ms); |
1137 |
}, delay_ms); |
1134 |
|
1138 |
|
1135 |
$(table_node) |
1139 |
$(table_node) |
Lines 1148-1154
function _dt_add_delay_filters(table_dt, table_node) {
Link Here
|
1148 |
.find("select") |
1152 |
.find("select") |
1149 |
.unbind() |
1153 |
.unbind() |
1150 |
.bind("keyup change", function () { |
1154 |
.bind("keyup change", function () { |
1151 |
col_select_search(i, this.value); |
1155 |
col_select_search(i, this.value, false); |
1152 |
}); |
1156 |
}); |
1153 |
}); |
1157 |
}); |
1154 |
} |
1158 |
} |
1155 |
- |
|
|