Column numbers
Column numbers

in DataTables 2
I use jQuery to color certain column with various colors. If I add a column, the wrong column is colored (because of course I never remember to modify the column number).
Many programing languages (including PL/SQL accept parameters by order OR named.
Is there any possibility to specify attributes by column "name"?
This discussion has been closed.
Answers
Possibly the easiest way would be to use
columns.className
- you can give each column a class and use that for the colouring.Colin
There is
columns.name
which you can use as a column selector (column-selector
).Allan