OK, I have handled it I think. What I have done is for each dataGrid I have a creationComplete function to move to the next tab, upon creation of the 3rd dataGrid I just switch back to tabIndex=0.
After that I am able to get the dataProvider.length for the third DG.
While this works, I am sure this is a very hackish way to do this, if anyone has another way to resolve this please let me know.
1 person found this helpful
Although it slows things a little bit, have you tried setting the creationPolicy of the tabNavigator to all?
Well, I have not. I will read up on that. I am still very much a novice.
I assume you'll eventually be making a service call to a server for the dataProvider lists. Could you get the count from the return data without instantiating the third datagrid? You'd have all the data you need to know the answer, I would think, and you could do a lazy load of the third datagrid so it doesn't slow things down.