Posted 5 October 2023, 3:28 am EST
Is it possible to copy out the [cellTemplate] version of a cell for pasting in Excel. If not can you give me a code snippet to use in the copying method to make this work?
For example.
I have a bunch of different currencies being displayed in the same grid and divided by row.
USD | $123.45 | $123.45
GBP | £123.45 | £123.45
EUR | €123.45. | €1213.45
The values are coming in as numbers (ex. 123.45) and then I’m using cellTemplate to parse out the correct currency for the row and apply the correct CurrencyPipe for each case. I have experimented with using [Format]=“‘c2’” but it assumes all cases are USD.