here this.options.customSearch is string not a function , can't call apply
@@ -1231,7 +1231,7 @@
if (this.options.sidePagination !== 'server') {
if (this.options.customSearch !== $.noop) {
- this.options.customSearch.apply(this, [this.searchText]);
+ window[this.options.customSearch].apply(this, [this.searchText]);
return;
}