Hello, we have experienced, in our solution, that measure caption disappears when the fields of the grid are changed, namely when we go from two to one measure in the grid.
Is there a way for me to fix this problem?
Thank you in advance
Thank you for posting your question here.
Currently, such behaviour is an expected one. In case you have only one measure and subtotals are disabled Flexmonsters skips the row with measures titles to optimize fixed rows space.
As a workaround, our team recommends
customizeCell approach. It allows changing cell content and adding additional information to the cell. As a result, you can change an existing cell text
"jan 2020 - jul 2020" to the following
"jan 2020 - jul 2020 / Total Maengde (kg)" text.
Here is a sample to describe the idea: https://jsfiddle.net/flexmonster/2305usn4/. As you can see, it is a flexible approach to handle different cases.
You can find more information on
customizeCell here: https://www.flexmonster.com/doc/customizing-grid/.
Please let us know in case suggested solution solves your case.