Yes, I got it working, very nice, thanks.

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> It should be column.dataField
> 
> Like I said, it was from memory :)
> 
> -J
> 
> On Wed, May 21, 2008 at 12:56 PM, markgoldin_2000 
<[EMAIL PROTECTED]>
> wrote:
> 
> >   column.fieldName gives me an error.
> >
> >
> > --- In flexcoders@yahoogroups.com <flexcoders%
40yahoogroups.com>, "Josh
> > McDonald" <dznuts@> wrote:
> > >
> > > You'll just need a custom labelfunction on your DataGridColumn:
> > >
> > > function myLabelFunction(item:Object, 
column:DataGridColumn):String
> > {
> > > return item[column.fieldName] == 0 ? "" : item
[column.fieldName]];
> > > }
> > >
> > > Keep in mind that's typed in gmail, not Flex, so it may not 
work.
> > Should be
> > > close though.
> > >
> > > -J
> > >
> > > On Wed, May 21, 2008 at 12:17 PM, markgoldin_2000
> > <markgoldin_2000@>
> > > wrote:
> > >
> > > > Is there a way of suppressing zero values in a dataGrid 
without
> > going
> > > > into custom design?
> > > >
> > > > Thanks
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > "Therefore, send not to know For whom the bell tolls. It tolls 
for
> > thee."
> > >
> > > :: Josh 'G-Funk' McDonald
> > > :: 0437 221 380 :: josh@
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for 
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>


Reply via email to