Help with DataGrid, Events and selectedItem and loose coupling
I'm pretty new to Flex, but I know this must be possible, however search as I might I can't find any examples of what I need online, so I'm hoping someone here can help me out, or point me in the right direction.
I've got two custom components, one with a DataGrid that has an ArrayCollection as it's dataprovider, and the other is a simple panel - just meant for displaying further details of whatever item is selected in the datagrid.
How can I pass the selectedItem from the DataGrid across to the panel component? At the moment I can't seem to pass it outside of the datagrid component, perhaps because I'm not using the right Event or because I'm not binding it properly.