I have a datagroup where I use a custom itemRenderer with a datagrid inside. What I want is to access each datagroup's itemRenderer's datagrid and get it's da开发者_如何转开发taProvider
All I know is that you can access the ItemRenderer by using myDataGroup.getElementAt(index)
Thanks in advance
I wonder why you need to do this. Wouldn't your dataGroup already have access to all the data it is passing down into the renderers?
That said something like this should work:
(myDataGroup.getElementAt(index) as myCustomItemRenderer).myDataGrid.dataProvider
精彩评论