On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote:
> --- In [email protected], "Manish Jethani"
> <[EMAIL PROTECTED]> wrote:
> >
> > On 5/3/06, djbrown_rotonews <[EMAIL PROTECTED]> 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


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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to