I'm trying to implement a simple custom search on a column. This is well documented at https://datatables.net/examples/plug-ins/range_filtering.html. However my (so far) only problem is accessing the $.fn.dataTable.ext.search array, to add and later remove my custom search function.
What is the path for this array, when going through angular-datatables?
Thanks in advance for your help.
this.datatableElement.dtInstance.then((dtInstance: DataTables.Api) => {
dtInstance. <-- what goes here?
});
$.fn.dataTable.ext.searchis a "global" list not specific to tables or dataTable instances. You should be able to use it right away (ad4 use $ internally). Perhaps you have forgotten to declare the $ alias butjQuery.fn.dataTable.ext.search.push()etc should work anywhere.