I have the database table file(…,…,…rejected, selected);
As you might guess, rejected and selected are booleen.
Now, I need to display these different type of files in the same cgridview but with different colors(with the rest of the files which are nor rejected or selected).
this work fine for one class :
'rowCssClassExpression' => ' ($data->rejected==1?"rejected-row":"")
But how to add the second half to take care of the selected files?