Hello,

I'd like to have a datagrid show up when you pull down a combox box as
in the following image:

http://i8.tinypic.com/24l3r0z.png

whichever line you highlight in the datagrid should return to the combox
(obviously with some actionscript that matches the fields)

But what Flex 2 does from the following code is it creates a datagrid
per item

                 <mx:ComboBox dataProvider="{ac}">
                 <mx:itemRenderer>
                 <mx:Component>
                    <mx:DataGrid width="100%" height="100%"
editable="true" rowCount="7">
                     <mx:columns>
                         <mx:DataGridColumn headerText="Column1"
dataField="series" editable="true"/>
                         <mx:DataGridColumn headerText="Column2"
dataField="type" editable="true"/>

                     </mx:columns>
                 </mx:DataGrid>
                              </mx:Component>

                    </mx:itemRenderer>
                 </mx:ComboBox>












--
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/
 



Reply via email to