[flexcoders] Re: suppress zeros in dataGrid

2008-05-21 Thread markgoldin_2000
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: > > > co

Re: [flexcoders] Re: suppress zeros in dataGrid

2008-05-20 Thread Josh McDonald
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 , "Josh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > You'll just nee

[flexcoders] Re: suppress zeros in dataGrid

2008-05-20 Thread markgoldin_2000
column.fieldName gives me an error. --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > You'll just need a custom labelfunction on your DataGridColumn: > > function myLabelFunction(item:Object, column:DataGridColumn):String { > return item[column.fieldName] == 0 ?