Nelsoncardoso / jquery-datatables-column-filter

Automatically exported from code.google.com/p/jquery-datatables-column-filter
0 stars 0 forks source link

Columnfilter not working with dom related sSortDataType #115

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add a custom dom sSortDataType 
http://www.datatables.net/usage/columns#sSortDataType (for example I use 
"sSortDataType": "dom-rel" to sort on the rel attribute instead of the content 
of the ceil :
<tr><td rel="0">High</td></tr>
<tr><td rel="1">Very high</td></tr>
<tr><td rel="2">Critical</td></tr>)

2a. using columnfilter in select/checkbox mode --> not working
2b. using columnfilter in input text mode --> search for "1" will work / search 
for "very" will not work

What is the expected output? What do you see instead?
When using custom dom sSortDataType, columnfilter should still use the ceil 
content to filter (not the dom element specified in sSortDataType).

What version of the product are you using? On what operating system?
datatables 1.9.1
columnfilter 1.5.0

regards

Original issue reported on code.google.com by gaspar...@gmail.com on 12 Feb 2013 at 9:43

GoogleCodeExporter commented 9 years ago
Resolved using custom sType and custom sorting 
http://www.datatables.net/plug-ins/sorting#enum

Original comment by gaspar...@gmail.com on 13 Feb 2013 at 2:21