0 Replies Latest reply on Jan 25, 2011 3:54 AM by ritesh_gcet

    IHierarchical Collection View

    ritesh_gcet Level 1

      Dear All,

      I m using the ADG and array collection (collection of class extend by object) as data Provider e.g .:

      img1.PNG

      The (arrDataprovider[0] as TestLibraryClass) is data provider of ADG1. when i will apply the filter via using

      IHierarchicalCollectionView(AdvancedDataGrid(vb.getChildAt(0)).dataProvider).filterFunctio n=statusFilter ;

      IHierarchicalCollectionView(AdvancedDataGrid(vb.getChildAt(0)).dataProvider).refresh();

       

      private

       

       

      function statusFilter(item:Object):Boolean

      {

      //doign some cross checkijng here and  i will remove the TestLibraryChildSequence ('nth' child of arrDataProvider) in item, then the main arrDatarovider also updated.. but  as per Adobe site the 'filter OR sorting on IHierarchicalCollectionView  will effect only view of data not on orignal data'. but dont know why the remove item was effected in orignal data???

      }

       

      Please help me...