开发者

How to access datagroup's Itemrenederer's component?

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 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜