var itemsNoValue = CollectionDetailRepositoryHelpers.GetValueByKey(args.Data, "ItemsNo");
if (int.TryParse(itemsNoValue, out var item) || itemsNoValue is null)
{
if (item > 0)
{
// items exist → apply special arrow color
args.Attributes["class"] = "has-items";
}
else
{
// no items → apply different style if needed
args.Attributes["class"] = "no-items";
}
}
}
}
with
.rz-datatable tr.has-items .rzi-chevron-circle-right:before {
color: blue !important;
}
.rz-datatable tr.has-items .rzi-chevron-circle-down:before {
color: blue !important;
}