fix(community/performance): address review feedback

This commit is contained in:
Stefano Demiliani 2026-08-24 16:06:07 +02:00
parent 8373bc4717
commit 6a75a425af
13 changed files with 79 additions and 165 deletions

View file

@ -11,14 +11,24 @@ page 50100 "GuiAllowed OData Guard Bad"
repeater(Rows)
{
field("No."; Rec."No.") { }
field(Name; Rec.Name) { }
field(Name; Rec.Name)
{
StyleExpr = NameStyle;
}
}
}
}
var
NameStyle: Text;
trigger OnAfterGetRecord()
begin
// Runs for every OData / Edit-in-Excel row with no UI.
// UI-only styling still runs for every OData / Edit-in-Excel row.
Rec.CalcFields("Balance (LCY)");
if Rec."Balance (LCY)" > 0 then
NameStyle := 'Attention'
else
NameStyle := 'Standard';
end;
}