1 Reply Latest reply on Apr 28, 2008 11:11 AM by rbetieh

    HierarchicalCollectionView and treeData

    rbetieh
      Hi,

      I am trying to write a custom itemRenderer for an ADG that will display row numbers for returned data. My adg dataprovider may be an ArrayCollection (flat data) or a GroupingCollection (tree data).

      I can get the ArrayCollection Data out correctly and I can see a protected member in HierarchicalCollectionView that will get me the row Numbers I am looking for. I thought I could just write a wrapper of HCV and expose a read-only version of treeData, but I cant seem to be able to do that. Here is the ItemRenderer Code so you can see what I am trying to do, I realize this wont work because treeData is protected, I am looking for a way to expose treeData.