0 Replies Latest reply on Aug 14, 2008 6:53 AM by anoweb

    AdvancedDataGrid - HierarchicalData - not updating display

    anoweb Level 1
      I have an AdvancedDataGrid using a HierarchicalData object ( I attached the code to this message). If I expand a node so that I can see it's children, then click "new employee" (which adds an employee to the currently selected EmployeeGroup) the employee doesn't show up in the display.

      If however, I select an EmployeeGroup (before ever expanding it) and I click "New Employee", then expand that EmployeeGroup the new employee is displayed.

      I have tried calling:
      - AdvancedDataGrid.validateNow()
      - AdvancedDataGrid.validateDisplayList()
      - AdvancedDataGrid.invalidateDisplayList()
      - AdvancedDataGrid.invalidateList()
      - groups.refresh() <----the arraycollection that feeds the HierarchicalData object
      - Extending HierarchicalData to have it fire an event when the source changes (see: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1364164&highlight_key=y&keyword1=hierarchicaldata)

      No luck so far, any ideas?