Hello,
I am trying to customise a cell depending on the column it belongs to. I know we could change it based on column index but this can be changed by the user so we are likely to be customising the wrong cell (and the headers go through the customise cell function after the values). What's the best way to do this?
We are using an OLAP Cube as our data source.
Kind regards,
Craig Button
Hello,
Thank you for reaching out to us.
For such cases, we suggest storing labels from the header row, where the rowIndex
value is 0. Then, you can get the columnIndex
of the desired members and set your customization based on the column index.
Please let us know if it works for you. Feel free to contact us in case further questions arise.
Kind regards,
Nadia