I have a datagrid within a custom VBox component, which in
turn is within a main.app
Is it possible to create a bindable dataprovider between the
main.app and the datagrid ?
If so, how do I refer to the main.app from the datagrid ? -
using a keyword such as parent ?
Using actionscript this should be easy. Assuming your custom
component's id is 'test' and id of the datagrid in the custom
component is dataGrid1, this should work:
this.test.dataGrid1.dataProvider = you array collection;
Now, if you are looking to achieve same this effect using
MXML, you'll need to add a property on your custom component -- or
use it's data property -- to pass along the array collection to the