Styling and Custom classes
Styling and Custom classes
Hi,
Nice work on the datatables, but being new to JQuery and datatables I am wondering how to apply my custom classes to my table.
In http://datatables.net/styling/custom_classes you mention $.fn.dataTableExt.oStdClasses but I have little idea on how to change for instance sSortDesc to my custom class.
An example would be of great help.
Thanks
Nice work on the datatables, but being new to JQuery and datatables I am wondering how to apply my custom classes to my table.
In http://datatables.net/styling/custom_classes you mention $.fn.dataTableExt.oStdClasses but I have little idea on how to change for instance sSortDesc to my custom class.
An example would be of great help.
Thanks
This discussion has been closed.
Replies
$.fn.dataTableExt.oStdClasses.sSortDesc = "whatever_your_custom_class_is_called";
[/code]
will do the trick.
Does that answer the question?
Allan
Thanks for that.