in a app, I use jQueryTablesorter, and the widget https://mottie.github.io/tablesorter/docs/example-widget-filter.html
I have two main features : - filtering (the widget) - sorting (default feature)
Both of these feature use textExtraction()
function,
https://mottie.github.io/tablesorter/docs/#textextraction
My problem is the following :
How can I deal with it ?
I have found. I need to use a hook which modify the value parsed for filtering.
$.tablesorter.filter.types.start = function(config, data) {
data.exact = data.$cells[data.index];
data.exact = data.exact.innerText;
data.iExact = data.exact.toLowerCase();
return null;
}