I want to select all rows in a table but exclude some columns, it is also not possible to assign classnames in this case.
what i have now is this:
http://jsbin.com/ibulej/5/edit
which works for one column.
I will use that later for a inline-table search for different tables, where i have to exclude some columns.
whats the best way to accomplish this task?
You can use the following code to exclude columns from selection which uses a combination of
$.filterand$.indexto accomplish the taskBuild your exclude list in
colsarray and those will be excluded from selection.Reference: $.index $.filter
Working Fiddle
I am not sure if this is the best way, but it works for what you need.