How do I highlight the sorted column like the "order-column" class with Bootstrap 3?

How do I highlight the sorted column like the "order-column" class with Bootstrap 3?

heartmoheartmo Posts: 2Questions: 1Answers: 0

I tried adding the "order-column" class to my table but it doesn't do anything.

Answers

  • heartmoheartmo Posts: 2Questions: 1Answers: 0
    edited May 2014

    One way I've got it working is to manually add the CSS for order-columns but I'm not sure if this is how it it's intended to be done.

    relevant css

    table.dataTable.order-column tbody tr > .sorting_1,
    table.dataTable.order-column tbody tr > .sorting_2,
    table.dataTable.order-column tbody tr > .sorting_3 {
    background-color: #f9f9f9;
    }

This discussion has been closed.