Hi Ryan,
Have a look at the dataProvider property of DataGrid. The easiest way
to have two datagrids show the same data is probably to just bind
their dataproviders to the same object:
<mx:DataGrid id="grid1" dataProvider="{myData}">
...
<mx:DataGrid id="grid2" dataProvider="{myData}">
...
You could also set the dataProvider of one grid to the other's in
ActionScript.
Doug
--- In [email protected], "rgwilson26" <[EMAIL PROTECTED]> wrote:
>
> How do you populate a datagrid from another
> datagrid? "dgMyDataGrid.selectedItem" will only send a selected item
> within a data grid, but I want all item within a given datagrid to be
> sent regardless of selection.
>
> thanks,
>
--
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/