CFSpreadsheet formatting fails when using documented approach

79 Views Asked by At

If I try to format a cell with

columnFormat = {
    integer = { alignment = "center", dataformat = '#,##0'},

    ...

In Adobe's documentation is says:

enter image description here

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6747.html

I get a

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

The formatting option needs to escape the #

To make this work, I needed

columnFormat = {
    integer = { alignment = "center", dataformat = '##,####0'},