I would like to sort my datable on the style background . It is possible? How ?
<td class="sorting_1" style="background: red;"></td>
<td class="sorting_1" style="background: white;"></td>
EDIT : i add a attribute data-order and i would like to filter on it :
<td class="sorting_1" data-order="red" style="background: red;"></td>
<td class="sorting_1" data-order="white" style="background: white;"></td>
My dataTable has 5 columns and i want to filter on the five : "aoColumns": [ {}, {}, {}, {}, {targets: 0, "data": { _: "0.display", sort: "0.@data-order", type: "0.@data-order" } } ]
I have an error message.. Any Idea?