One DataGrid Item Renderer for multiple columns
Posted
by user329650
on Stack Overflow
See other posts from Stack Overflow
or by user329650
Published on 2010-04-30T09:54:08Z
Indexed on
2010/04/30
9:57 UTC
Read the original article
Hit count: 271
Hey,
I'm trying to create a Flex DataGrid where the firstname and lastname are shown under each other, but in the DataGridColumn
Ideally I would want to do something like
<mx:columns>
<mx:DataGridColumn headerText="Column 2" dataField="time"/>
<mx:DataGridColumn headerText="Column 2" dataField="firstname,lastname" itemRenderer="renderers.FirstNameLastName"/>
so that both values get passed to the itemrenderer, is this possible?
Dennis
© Stack Overflow or respective owner