-
New Feature
-
Resolution: Won't Fix
-
Neutral
-
None
-
None
-
-
Yes
-
Empty show more show less
If one wants to style a cell or a complete row of a tree or list, the possibilities are limited to using a ColumnFormatter and wrap the data in a <span>. This works to a certain extent, but is not elegant. Styling an entire row (e.g grey it out based on the status of the node) is only doable using nasty javascript tricks.
With the attached patch, we would allow developers to configure CellStyleGenerator at table/list level (to be used for styling rows) and at column level (to style cells).
AggregateCellStyleGenerator is provided so that we can simply pile up the configured generators with our default ones. Presumably, parts of this patch would be moved to info.magnolia.ui.workbench.list.ListPresenter#start, similarly to how we setup the column formatters.
- relates to
-
MGNLUI-3813 Configure alignment and style names for columns
- Closed