1 person found this helpful
Best advice I can offer before you try to work through a solution is to use Tree component instead of ADG.
There are so many issues with ADG that I am surprised its still included in the SDK.
Tree is so much more responsive, ADG adds lots of overhead and more importantly
it has a RTE when trying to scroll large list.
The only reason I'm using the ADG is because I need the associated checkboxes in a separate column and the tree alone wouldn't provide this functionality.
I've actually almost resolved the issue and have a working sample, but now you have got me worried by mentioning that the ADG has issues with it.
Could you possibly elaborate a little more on the issues that you have seen with the ADG?
Also, when you say "large list", how large are you referring (ie. 100 nodes? 500? 1000? 5000?)?
Thanks for your feedback and response.
I think you could simulate column-like display using itemRenderers in Tree component.
I wanted to use ADG so much and was happy to finally work it out in my app, I thought.
Then I noticed the issue with responsiveness and what a struggle it was to get the items to always render, that's a whole other topic.
But I found the Runtime Error that basically crashed my app when my client data required the use of scrollbars to view
the end of the list. Basically it has trouble with the itemRenderer getMeasurement () method I believe.
I don't remember the exact error message - once I found out it was RTE I abandoned it completely
in favor of Tree - nice and stable and does the job for me....
There is a bug report in bugs.adobe.com/jira about this, others have reported it too.