Posted 29 August 2022, 8:19 am EST
Hi Support,
I’m experiencing an issue that I hope I can describe without a demo. I can’t share my code due to company restrictions. If needed, I can create a demo, but it will likely be rather time consuming to do so. Here are the circumstances:
- "
- "We have a pretty complex ``` FlexGrid
* "The grid has a ```
GroupPanel
``` attached, allowing custom groupings"
* "We also have a very complex formatting system attached to the ```
formatItem
``` event handler, which affects both grouped and detail rows. Some of these ```
GroupRow
```s calculate a completely custom value to display in the grid, using the ```
formatItem
``` event handler. Values are calculated and injected into the ```
innerHTML
``` of the cell.."
* "This grid is downloadable to Excel using the ```
FlexGridXlsxConverter
```"
"
All of this works fine, except when we export to Excel. When we export, the ```
GroupRow
``` cells with a custom formatter calculation return the default group calculation (i.e. SUM), instead of the calculated value determined in the ```
formatItem
``` callback. To be clear, the number is calculated. I see the debugger step into the ```
formatItem
``` handler during export, but the number in Excel is the sum of the detail rows, instead of the custom calculation.
Any idea how I can resolve this?
Thank you!
Eric