【发布时间】:2021-10-08 19:23:43
【问题描述】:
我正在尝试更改 mudblazor 表中一行的颜色。问题是,我无法添加根据行元素条件更改颜色的功能。
<MudTable Items="@context.orderPositions" Context="AddressContext" Hover="true" Breakpoint="Breakpoint.Sm" Elevation="0" Style="background-color: @(AddressContext.OrderPositionStatus == PositionStatus.rdy ? yellowgreen : blue;">
【问题讨论】: