void RowRender(RowRenderEventArgs args)
{
// args.Attributes.Add("style", $"font-weight: {(args.Data.RefProduct.CounterSaleMargin <20 ? "bold" : "normal")};");
// args.Attributes.Add("style", $"background-color: {(args.Data.RefProduct.CounterSaleMargin <20 ? "silver" : "white")};");
if (args.Data.RefProduct.CounterSaleMargin < 20)
{
args.Attributes.Add("style", $"background-color:silver");
}
else
{
args.Attributes.Add("style", $"background-color:black");
}
}