How to change a row color from within a aoColumns?

How to change a row color from within a aoColumns?

sunbathersunbather Posts: 8Questions: 4Answers: 0

Hello,

I defined my datatable using aoColumns. I have something like this:

[...]{
    "title": "myTitle",
    "mData": "myMData",
    "mRender": function (data, type, val) {
        if(val.myMData > 15){
                //color entire row red
            }
            return val.myMData;
        }
    },[...]

I do not understand how to color the entire row from within that particular column definition.

Thanks!

Answers

This discussion has been closed.