filter box and row colors
filter box and row colors
Hi. I'd like to know how to increase the width of the filter box, I am using demo_table_jui.css. I was able to align it to the left but can't find a way to change the box itself, property is .dataTables_filter
Another question, how can I assign the row background (even/odd) color upon initialization, is it under aoColumns? if so, how? Also disable background color for the column being sorted.
thanks
Remsy
Another question, how can I assign the row background (even/odd) color upon initialization, is it under aoColumns? if so, how? Also disable background color for the column being sorted.
thanks
Remsy
This discussion has been closed.
Replies
and
tr.odd { background-color: red; }
tr.even { background-color: blue; }
The other class names used for the sorting can be found either from Firebug or here http://datatables.net/styling/ids_classes .
Allan
regards
Remsy
You put the css in your .css file. Or if you don't have one you put it in a style block in your page header.
I hope that helps.