Sorting rules with css
Sorting rules with css
I have read all the help and cannot find is it possible to define sorting rules with css to TH elements? I need this mainly because columns change dynamically for different user types, and I do not know columns ordering, so I preferer some kind of metadata to be specified with using CSS.
Thanks,
Anton
Thanks,
Anton
This discussion has been closed.
Replies
Allan
I think that I got the idea, as for me it's was not enough clear in documentation.
p.s. ... still cannot use your plugin because of bug, just described it here:
http://datatables.net/forums/comments.php?DiscussionID=4781
Regards,
Anton
1. Actually I have fewer columns available for sorting then the ones which must be not sortable. How can I turn off sorting for all columns except for ones with some class specified?
2. Can you please refer to a docs about how to set different classes for different "sorted" states for TH elements - eg "unsorted", "sorted asc", "sorted desc" - is it possible?
Thanks very much for your help!
Anton
what you're searching for?
http://datatables.net/styling/ids_classes