What determines row color in jquery datatable styles?

What determines row color in jquery datatable styles?

Thomas3dThomas3d Posts: 2Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
In jquery datatable styles (here smoothness) it shows the rows with a different colors. It this example it is the value in the last column that determines the color of the row. But where is it specified that it come from the values in the last row and how can I change this to depend on another column?

Try this example: https://datatables.net/release-datatables/examples/advanced_init/highlight.html

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    In that specific case, the CSS is here: https://github.com/DataTables/DataTables/blob/master/media/css/demo_table.css#L504

    Allan
  • Thomas3dThomas3d Posts: 2Questions: 0Answers: 0
    Tanks Allan.

    for others I also posted my answer here:
    http://stackoverflow.com/questions/18645635/what-determines-row-color-in-jquery-datatable-styles/18656874#18656874
This discussion has been closed.