Hello,
I needed to apply special styles to some of the cells in the aggregation row of a DataGrid. Unfortunately, changing column styles does not affect it, and I couldn’t reach that specific row as there’s no public API to access it. Attempting to retrieve the FooterRow using the common API yields no results. However, upon further investigation, I discovered a field named footerAggregationRow
in AbstractDataGrid
, which contains the exact row I need. But, as there is no open API, currently, I see two possible approaches: extracting it using reflection or attempting to configure it through CSS by a relative path. However, the latter might break if I change the order of the columns, for example.
Could I have overlooked something? Is there a more high-level way to access that row?
Environment:
Java Version: 17
Jmix Version: 1.5.4