this:
$this->RowAttrs[“style”] = “background-color: #8fbc8f”;
or
$this->RowAttrs[“style”] = “color: red”;doesn’t appear to be working?
Note that your styles may not override the default styles, you may Inspect HTML element and test your own CSS styles first. You may need to add !important.
sticcino wrote:
$this->RowAttrs[“style”] = “background-color: #8fbc8f”;
or > $this->RowAttrs[“style”] = “color: red”; >
doesn’t appear to be working?
You can try with this:$this->YourColumnName->CellAttrs[“style”] = “background-color: #8fbc8f”;Or this:$this->RowAttrs->appendClass(“cssclassname”);