How to Filter excluding certain columns or filter only on text content (not html tags) within cells
How to Filter excluding certain columns or filter only on text content (not html tags) within cells

This table plugin has great features and has the look that is exactly what I want for my website. The trouble I'm having is that there are some links and images embedded in table cells that the filter is including within its search.
For example, I have a link to open a user edit screen when an icon is clicked on.
Sample HTML:
user_first_name
user_last_name
Edit User
User Access Levels
So when a user users filters that happen to be attribute values (i.e. class, edit, user, href, info ) all of the items are listed which is obviously not what the user wants.
How can I either:
1. Ignore html attribute values from the filter search?
2. Remove only a specified column from the filter search?
For example, I have a link to open a user edit screen when an icon is clicked on.
Sample HTML:
user_first_name
user_last_name
Edit User
User Access Levels
So when a user users filters that happen to be attribute values (i.e. class, edit, user, href, info ) all of the items are listed which is obviously not what the user wants.
How can I either:
1. Ignore html attribute values from the filter search?
2. Remove only a specified column from the filter search?
This discussion has been closed.
Replies
1. You need to set the sType for the column to 'html'. See this example: http://datatables.net/examples/advanced_init/html_sort.html
2. You can specify if a column should not be included in the filtering using the bSearchable parameter: http://datatables.net/usage/columns#bSearchable
Hope that helps!
Allan
Campbell