search feature and links
search feature and links
mfrere
Posts: 4Questions: 0Answers: 0
Hi,
I'm currently facing an issue when using the search feature and html links.
Sorting works as expected -> sorts on link text instead of href, title, ...
Filtering however looks at the attributes inside the link tag.
sType is probably automatically detected correctly as sorting works just fine, but I still tried defining "sType": "html" in "aoColumns" without success (as described in http://datatables.net/ref#sType)
You can witness the same behavior in this example (eg: type "article" or "co.uk/article/" in the search box):
http://datatables.net/examples/advanced_init/html_sort.html
I'm using DataTables 1.9.4
Is this a bug? Or should I define another parameter like sType, but for the search feature?
Michael
I'm currently facing an issue when using the search feature and html links.
Sorting works as expected -> sorts on link text instead of href, title, ...
Filtering however looks at the attributes inside the link tag.
sType is probably automatically detected correctly as sorting works just fine, but I still tried defining "sType": "html" in "aoColumns" without success (as described in http://datatables.net/ref#sType)
You can witness the same behavior in this example (eg: type "article" or "co.uk/article/" in the search box):
http://datatables.net/examples/advanced_init/html_sort.html
I'm using DataTables 1.9.4
Is this a bug? Or should I define another parameter like sType, but for the search feature?
Michael
This discussion has been closed.
Replies
Allan
Michael
PS: DataTables is awesome!!