2 Replies Latest reply on Aug 23, 2010 6:19 AM by C77777

    AdvancedDataGrid: display disclosure icon for empty nodes




      I have an AdvancedDataGrid with HierarchicalData that will be loaded lazily. Initialy, the tree displays only the parent nodes. Since the nodes' children are not loaded yet, no disclosure icons are rendered. Is there a way to force the tree to also render the disclosure icon for empty nodes, so that I can load a node's children when it is expanded?


      I have tried looking at TreeDataDescriptors, but AdvancedDataGrid or HierarchicalData don't seem to support this.

      I also looked into extending AdvancedDataGridGroupItemRenderer, but fail to see where I can put logic to render the disclosure icon.


      Any help would be much appreciated.