Avoid search on element values or attributes
Avoid search on element values or attributes
I've noticed that the search function not only look for the visible content but also on the attributes of the elements in the table.
Here's a living example of it with a checkbox and its value: (search for "demo", or "second")
http://jsfiddle.net/HEDvf/510/
In my case, i have checkboxes in the datable and they have classes, data-types and values. When the user wants to use the search feature, it also look for all those attributes and that's not really what a filter should use.
Example of my checkbox:
[code]
[/code]
Is there any way to avoid this behavior?
Thanks.
Here's a living example of it with a checkbox and its value: (search for "demo", or "second")
http://jsfiddle.net/HEDvf/510/
In my case, i have checkboxes in the datable and they have classes, data-types and values. When the user wants to use the search feature, it also look for all those attributes and that's not really what a filter should use.
Example of my checkbox:
[code]
[/code]
Is there any way to avoid this behavior?
Thanks.
This discussion has been closed.
Replies
Allan
How is it minified? Which method?
Thanks.