Ignore HTML when filtering a jQuery data table 1.9.4
Ignore HTML when filtering a jQuery data table 1.9.4
MayurP
Posts: 23Questions: 4Answers: 0
Hi All,
I'm using jquery datatable 1.9.4.
I have a table in which a couple of the colums contain links (a href). When I do a search, it finds matches within the <a href... ="abc.html?name=test&etc"> tags.
Is there any way to disable searching within html tags?
Also, We have tested same on jquery datatable 1.10.1 and it's working fine.
Is there any patch available for fixing this issue in 1.9.4? because we can not migrate to datatable 1.10.1 as of now.
Thanks.
This discussion has been closed.
Answers
I've also tried fix given in below link,
https://github.com/DataTables/DataTables/commit/065c2cc66b872c6964b7d31f12941f23e7f1f171
But Still No luck !!
Please give me any idea.
Any idea?
This wont help you for the main filter of datatables, but if you want a column filter that will filter your html column, you can try my yadcf
http://yadcf-showcase.appspot.com/DOM_source.html
take a look at the Tags column and read the docs (js file) about the
Hi Daniel,
In column filter it is ignoring HTML(tags) but main filter is creating problems as it is considering html tags.
Any patch for solving this issue?