var item:Object = adg.selectedItem; // get the object corresponding to
the row. If you select a row, then use adg.selectedItem.
if (gc.canHaveChildren(item)) // if item can have children, it is a
group row
{
trace("Group Row");
// fetch the Children Collection
var children:ICollectionView =
IHierarchicalCollectionView(adg.dataProvider).getChildren(item);
}
else
{
trace("Leaf Row");
}
Thanks,
Sameer
--- In [email protected], "reflexactions"
<[EMAIL PROTECTED]> wrote:
>
> When the user clicks into my custom cell renderer control in a group
> row:
>
> 1) How can I tell I am in a group row?
>
> 2) How can I access the child rows of that group?
>
> actually I also need to know at any time whether I am rendreing a group
> row or not...
>
>
> tks
>