Provide custom filter functionality
Closed this issue · 1 comments
GoogleCodeExporter commented
Hi,
imagine following scenario: In one of my columns I use some icons to visualize
the state of my data. It would be nice to be also able to filter on those
states. I'm able to add a select filter with the distinct filter values but
clearly the filter won't work.
One other use case would be checkboxes which indicate true/false in sense of
the data.
Is there any way to archive this with today functionality or would it possible
to be able to provide a kind of "lookup" function to the filter in the future?
With kind regards,
Stefan
Original issue reported on code.google.com by s.kesb...@gmail.com
on 18 Jun 2011 at 8:31
GoogleCodeExporter commented
Hi,
Sorry for the late response but I have not been active in past few months.
Problem you have reported "should" already bee a part of the original
datatables settings. If you put soem HTML and place sType : 'html' filtering
function should filter it as html and not plain text. See DataTables site for
more examples.
Checkbox can currently be implemented as dropdown with two values (yes/no) I'm
planning to implement it in the future. Also custom filtering functions are in
the TODO list.
Thanks,
Jovan
Original comment by joc...@gmail.com
on 25 Sep 2011 at 9:47
- Changed state: Done
- Added labels: Type-Task
- Removed labels: Type-Defect