Preserve cell style when sorting a column
Preserve cell style when sorting a column
Irgi
Posts: 1Questions: 1Answers: 0
Sorting a column, the background of the cells in the colum is automatically highlighted which overwrites the style I assigned to the cells before sorting. Removing the order-column class for the table works to disable this for the whole table. How can I avoid the automatic styling of the cells in the sorted column for a particular column?
Thanks,
Irgi
This discussion has been closed.
Answers
This example may help:
http://live.datatables.net/digeseka/1/edit
Notice the
> .sorting_1
to include the style for the sorted column(s). Even though its a hover example it may help with your question.Kevin