Hi,
I have an application calling the TbExtendedGridView widget.
I added ‘rowCssClassExpression’ => ‘ticketassignments->color($this->ticket_id)’,
Then created
public function color($myid) {
$color = 'green'; // testing
return $color;
This is supposed to pass the ‘green’ value to the css script.
The problem I’m having is determining which css file to use.
in the .\public\assets\9e142ad5\gridview\styles.css I’ve added
tr.green
{
background: #CEF6D8;
}
.grid-view table.items tr.green
{
background: #CEF6D8;
}
this has had no affect.
I’ve attempted modifying the override.css, and main.css in the public/css folder as well, to no affect.
I have searched thru my controllers, looking for a statement registering any css files, but have been unable to locate them so far.
Any help would be highly appreciated.
Thanks,
Randy