The developer is now forced to set the StyleExpr on any column, which is fun if the page has lots of columns. If a new column is added, it is often forgotten to apply the same StyleExpr. However, if the end user / consultant will use the webclient 'Personalization' mode to add field, these fields would not be formatted at all.
Would it be possible to add a 'StyleExpr' property on row level (e.g. on the 'Repeater' control) as well? If no StyleExpr is set on the individual control, it would inherit the StyleExpr from the parent group. This would save us some time and newly added columns would benefit from it automatically.
https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=1224536699
Comments
The ~10 built-in styles are no longer sufficient, and only text styling can be controlled; background/row styling is not available.I’m requesting:Significantly more than 10 style tokens or custom, theme-aware style definitions.Background styling at field and row level (e.g., BackgroundStyleExpr / RowStyleExpr).Native alternating row styles (“zebra striping”) for lists/repeaters to improve readability.Theme & accessibility compliance (light/dark/high-contrast) via semantic color tokens rather than fixed RGB values.Benefits:Faster scanning of tabular data (zebra striping).Clearer visual differentiation of statuses/categories without workarounds.Consistent look & feel across pages.Suggested acceptance criteria:AL supports both foreground and background style expressions.List pages support an optional AlternatingRowStyle without custom controls.New styles are theme-aware and documented, with migration guidance.
Category: General
Can we also add some more style options. There are only limited colours. The Yellow (Ambiguous) is fine on a cue but hard to read as text and too close in colour shade to the green. Its is annoying that you can have italics in red but not green for example. If you are showing lines that's are favourable/unfavorable it looks odd if one is in italics and one isn't.
Category: General
Business Central Team (administrator)