coldfusion flash integration:
Can someone please explain why the following does not use the numberformat when format=flash? Yet when I change it to format=html it does act on the numberformat? All I want to do is format or round some numbers.... Many thanks in advance <!--- display the counts by casetype ---> <cfform format="flash" action="browse" skin="haloorange"> <cfgrid name="counts" selectmode="browse" rowheaders="no" align="Middle" query="iccomb" colheaderbold="yes" colheaderalign="center" height="250" width="600"> <cfgridcolumn name="ictype" header="Type" width="100" > <cfgridcolumn name="gender" header="Gender" width="50"> <cfgridcolumn name="freq" header="Count" width="50" dataalign="right" > <cfgridcolumn name="totpct" header="Pct of Type" type="numeric" width="50" numberformat="9999.99" dataalign="right" > </cfgrid> </cfform>
I tried that. All I get is 0000.00 for every entry. If I increase it to "99999.99" I get is 00000.00 for each entry.
I have the same problem using numberformat. I am using numberformat="0000000" to pad a ticket number with 0's but it does not work in the flash.
I am having the same problem but only when using remoting. The mask function just echoes back whatever I put in the mask. For example mask="mm/dd/yy" returns to the row 'mm/dd/yy' it will work if the grid is pulling from directly from a query result but not from a result set returned though remoting. I really need to figure out how to get this to function or a work around. I cannot use tables in this applicationstructure.
The only suggestion I have would be to "preformat" the field in a an intermediate step. That way you don't have to format it in flash.
I gave up on flash. I went back to the old standard HTML tables. At least they work. It seems pretty clear that Flash is nothing more than a "flash in the pan". To bad too it looked pretty cool.
Don't see what you're looking for? Try a search.
|