Thanks - I ended up using a cellRenderer. Now another question - is 
the headerRenderer the same as a cellRenderer? 

- viraf

--- In [email protected], Matt Chotin <[EMAIL PROTECTED]> wrote:
> You're going to need to look into using labelFunction to return 
the values
> you want.
> 
> 
> 
> Matt
> 
> 
> 
> _____ 
> 
> From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 25, 2005 7:14 PM
> To: [email protected]
> Subject: [flexcoders] Re: DataGrid / dataProvider question
> 
> 
> 
> 
> Thanks. Can one specify a hierachy for the column name, such as 
> 
> <mx:DataGridColumn columnName="cat.product.123" ...> ?
> 
> --- In [email protected], Manish Jethani 
> <[EMAIL PROTECTED]> wrote:
> > viraf_bankwalla wrote:
> > 
> > > I have an xml document that has the following form
> > > 
> > > <categories>
> > > <category id="123" name="abc>
> > > <products>
> > > <product id="123" name="def">
> > > <price>12.54</price> 
> > > </product>
> > 
> > [snip]
> > 
> > > of each product in the category. My question is how do I 
> specify 
> > > the reference to a specific 
> > > product in DataGridColumn? If someone has an example, I 
would 
> love 
> > > to see it.
> > 
> > You could set your dataProvider to 
> > {categories.category[0].products.product}, but that would only 
get 
> you 
> > the products at the 0th category ("abc").
> > 
> > Manish
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> 
> 
> ADVERTISEMENT
> 
> 
<http://us.ard.yahoo.com/SIG=129pbsgbl/M=298184.6018725.7038619.30011
76/D=gr
> 
oups/S=1705007207:HM/EXP=1109474042/A=2593423/R=0/SIG=11el9gslf/*http
:/www.n
> etflix.com/Default?mqso=60190075> click here
> 
> 
> 
> <http://us.adserver.yahoo.com/l?
M=298184.6018725.7038619.3001176/D=groups/S=
> :HM/A=2593423/rand=206981682> 
> 
> 
> 
> _____ 
> 
> Yahoo! Groups Links
> 
> *     To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/> 
> 
> *     To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
> 
> *     Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/> Terms of Service.





Reply via email to