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

