Jquery datatables search not working correctly
Jquery datatables search not working correctly
Hi All,
I am using datatables 1.10.10 and I am getting an issue with the search functionality.
If the column data contains a - it does not allow a search from anywhere with the text it only allows a left to right match.
For example I have
this is - test
I can search for
this is
thi
th ...
and it works ok and returns the record.
If however I try to search:
test
"- test" (minus the quotes just escaping auto formatting)
-
it does not return a match.
Does anyone have any ideas? I have been looking around on the net and cannot see to find anything.
Cheers Mark
This question has an accepted answers - jump to answer
Answers
Hi Mark,
Can you link to a test case showing the issue please.
Allan
Hi,
Sorry for the late reply. Turned out to be user error :S. I must have needed more coffee as from what I could tell was that it was working all the time.
Cheers
Mark