all groups > coldfusion flash integration > october 2005 >
You're in the

coldfusion flash integration

group:

cfgrid/ flash and number format


cfgrid/ flash and number format masterofdomain
10/19/2005 8:09:59 PM
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>
Re: cfgrid/ flash and number format endymion96
10/24/2005 3:44:09 PM
Re: cfgrid/ flash and number format masterofdomain
10/24/2005 3:52:05 PM
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.




Re: cfgrid/ flash and number format Efficinet
11/3/2005 12:00:00 AM
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.

Re: cfgrid/ flash and number format AcidMatt
11/3/2005 12:00:00 AM
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.
Re: cfgrid/ flash and number format masterofdomain
11/3/2005 12:00:00 AM
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.


Re: cfgrid/ flash and number format masterofdomain
11/3/2005 12:36:14 PM
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.




AddThis Social Bookmark Button