2 Replies Latest reply on Jul 11, 2010 10:06 PM by Sameer Bhatt

    Urgent: Advanced Data Grid nodes collapse on changing dataProvider

    YKaura Level 1

      I have an advanced DataGrid


      The dataProvider is an XMLList hierachData which I wrap in
      HierarchicalCollectionView and supply it to the datagrid


      At each subsequent refresh I change the source of my Hierarchical data


             hierachData = new HierarchicalData();


                               hierView = new
      HierarchicalCollectionView(hierachData);


                               hierView.filterFunction = filterData;


      change the source


             hierachData.source = tableMonData.elementHierarchicalData;//new
      xmlList passed as a source to the existing dataProvider



      The datagrid nodes collapse which is not expected for my feature.

       

      Any help will be highly appreciated.


      Thanks,

      Yukti.