Hello All,
I have a datagrid that has 2 DataGridColumns.
Each DataGridColumn has its own itemrenderer. I would like to fire a
function that is inside of each of the DataGridColumn's itemRenderer.
I have been successful with firing a function inside of an ItemRenderer
for a Tree Control by using tree.indexToItemRenderer(), however, with
the DataGrid, I can't seem to get to the DataGridColumn's itemrenderer.
I tried myGrid.indexToItemRenderer() and I got back a
DataGridItemRenderer but not the DataGridColumn's rendererer.
Lots of thanks for any light on this issue.
Tim
------------------
<mx:DataGrid id="myGrid"
dataProvider="{ArrayCollection(model.layoutSelectorList)}"
variableRowHeight="true" width="100%" height="100%">
<mx:columns>
<mx:DataGridColumn dataField="label" headerText="Column1"
itemRenderer="renderer1" />
<mx:DataGridColumn id="radioColumn" dataField="type"
itemRenderer="renderer2" headerText="Column2" />
</mx:columns>
</mx:DataGrid>
-----------------
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/