Insert "a href" link on currency type column, for which it is also calculated the sum in footer
Insert "a href" link on currency type column, for which it is also calculated the sum in footer
I need to include a link on currency type column, for which it is also calculated the sum in the footer.
I can manage to remove the HTML to do the sum and get the sum in footer, but in this case I cannot correctly display the number as currency (column numeber 9).
If I correctly display the number as currency, I cannot get the link correctly shown, and sum is again correctly calculated because I removed the HTML (column number 8).
I cannot find a solution to get the currency correctly displayed in the column, having the link and the sum un the footer.
This is the JSFiddle.
https://jsfiddle.net/f6czLja1/1/
Any solution to get all the three aspects together?
- column shown as currency
- link on column
- sum calculated in footer
Thank you very much for the help.
Answers
The built in number renderer does not handle HTML strings. When you generate the HTML, can you have it also display the number with the correct formatting? If so, then we can use deformatting functions in the footerCallback to generate the summation.
Allan