What is currentView and what events does it dispatch? Really, all you need to do is listen for that event and set dataProvider in a listener.
On 2/20/15, 1:23 PM, "mark goldin" <[email protected]> wrote: >I am trying to replicate mxml binding for datagrid: > dataProvider="{_model.currentView}" > >with ActionScript: > > creationComplete="init()" > > >init: >BindingUtils.bindProperty(grid, "dataProvider", _model, "currentView"); > >override public function set dataProvider(value:Object):void >{ >super.dataProvider = value; >if (value) >showData(); >} > >I am getting into set dataProvider only once when value is null. As a >result I see no data. >Any help? > >Thanks
