I’m trying to use the filter plugin of the tablesorter plugin with cells containing html elements. Unfortunately that doesn’t work out well. All I got is one entry in the filter list with every select option concatenated. I’ve tried to add a custom textExtraction function, but that doesn’t change anything. An example of my code can be found here: http://jsfiddle.net/ZMzNf/10/
Any ideas?
Thanks in advance,
cheers
In version 2.4, I’ve added a
filter_useParsedDataoption which forces the filter widget to use parsed data for the entire table, or you can just add a class name offilter-parsedto the table header to target a single column.Get more details about how to use this option in the documentation. Also check out this issue – it shows that you can use the textExtraction function to control the parsed data.