How can I EXCLUDE one column from filtering using jquery and the plugin ColumnFilters

I am using the jquery column filter plugin by Tom Coote.  it works great, but I have one issue that I can't figure out.  View the attached pic.  The last column is give the admin the ability to click on the icon and delete that specific entry.  Consequently it does not need to have the filter box that appears above the column.

Does anyone know how to exclude a column from filtering using this plugin, this removing that filtering input box?

Here is the script i use to get the filtering working:

$(document).ready(function()
            {
                  $('#example').dataTable();
                  $('#example').columnFilters();
            });
jqueryColumnFilter.JPG
LVL 1
justmelatAsked:
Who is Participating?
 
Terry_focusConnect With a Mentor Commented:
Hi

If it is this column filter

http://www.tomcoote.co.uk/jQueryColumnFilters.aspx

I think it is use the following
$(document).ready(function() 
            {
                  $('#example').dataTable();
                  $('#example').columnFilters({excludeColumns:[6]});
            });
});

Open in new window

0
 
justmelatAuthor Commented:
Absolutely AMazing!!!

Thank you!!!!
0
 
justmelatAuthor Commented:
Excellent!!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.