--- In [email protected], "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote:
> > --- In [email protected], "Manish Jethani"
> > <manish.jethani@> wrote:
> > >
> > > On 5/3/06, djbrown_rotonews <djbrown_rotonews@> wrote:
> > >
> > > > I have a local var node, set to the dataField of the passed
in
> > > > DataGridColumn.
> > >
> > > So given this node, what do you want to display in the
DataGrid?
> > >
> > >   <fa  dataValue="3"  severity="0"/>
> > >
> > > If "fa" is what you want to display, then your labelFunction
should
> > > return 'item.name()'
>
> > I actually want to display the "3" in the above example (ie,
> > dataValue).
>
> Okay, so you have "dataValue" in a variable called 'node'.
>
>  var node:String = "dataValue";
>  var valueToReturn:String = item.attribute(node);
>
> Manish
>

actually, I store "fa" in the node var, and want to return the
associated "dataValue" for the item["fa"]






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to