--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > Hi, all; > > I open all the nodes on my ADG when it is created. I'd like to make > sure there are enough rows to show all the items without scroll bars. > If I bind rowCount to myADG.dataProvider.length, it gives me enough > rows to show the _closed_ nodes. I also tried > myADG.dataProvideropenNodes().length, but that wasn't anywhere close. > Is there a simple way to do this, or do I have to write a function that > goes through and counts?
It seems that the length DOES reflect the total number of nodes, but for some reason I was not able to bind directly to the length of the dataprovider. When I used a separate variable set to the length, it worked perfectly. Thanks all who helped ;-)