Category: | Bug report |
Priority: | Urgent |
Status: | New |
Project: | Severity: | Critical |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
When the styled text string is used in field expression like below the excel export doesnot show the forecolor. Except forecolor the other styles are applied.
$V{sale}.doubleValue() < 0
? ("<style forecolor='#FF0000' pattern='#,##0.000'>" +new DecimalFormat("#,##0.0").format($V{sale})+ "</style>")
: ("<style forecolor='#000000'>" + (Math.round(($V{sale}.doubleValue()*100)))/100.0 + "</style>")