Conditional formatting of the header of a table

Hi team,
with the following code I obtained the conditional formatting of a table based on the value of the field "vendor_name". Is it possible to format header separately from the data in the table?

thanks,
g

kibana
| selectFilter group="cellnamegroup2"
| essql query="SELECT cellname, vendor_name, region FROM table"
| table paginate=false font={font family="'Helvetica Neue', Helvetica, Arial, sans-serif" color={
if {any {getCell "vendor_name" | compare "eq" to='N'}} then={string "Red"} else={string "Green"}
} size=15 align="right" weight="normal" underline=false italic=false} showHeader=true
//value="hidden"
| render 
css={string ".canvasRenderEl{
  display: flex;
  align-items: center;
  padding: 10px;
  height: 50px;
  background-color: #e4e4e4;
  border:2px solid #ec0028;
border-radius: 20px;
visibility:visible;
}"}
containerStyle={containerStyle}