When I insert this code in gridview, there is error Undefined variable: class
'value' => 'order_customFields_delivery_method',
'contentOptions' => function ($data)
{
if ($data['order_customFields_delivery_method'] == 'Euro')
{
$class = 'style';
}
return [$class => 'font-weight: bold;'];}
],
In what can be a problem?