How to style sorted column with an existing class?

How to style sorted column with an existing class?

salviatisalviati Posts: 1Questions: 0Answers: 0
edited April 2010 in General
I'm using DataTables in Drupal pages. It works well, but there is a little problem. Drupal has theme classes for tables (tr.odd, tr.even, etc). Class "active" is applied to sorted columns in Drupal, but in DataTables I can only use classes whose names postfixed with priority number (like "sorting_1") by setting $.fn.dataTableExt.oStdClasses.sSortColumn.
Is there any way to avoid postfixing priority number to class names for a sorted column? I don't want to hack DataTables or Drupal code.
Any help is appreciated.
This discussion has been closed.