Hi Tracy, Are the items in your dataProvider strongly typed objects whose whole class is marked [Bindable]? If not, you might try calling itemUpdated() on your dataProvider (assuming its an ArrayCollection).
HTH, Ben --- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > I want my ComboBox itemRenderer to be disabled based on a "disabledFlag" > property in the dataProviderItem. > > I have a CheckBox renderer in another column that updates that property. > > The ComboBox renderers display fine on initialize, with the correct rows > disabled > > But when I click the checkbox, even though the code in the CBO > renderer's set data() and commitProperties runs correctly and sets the > Combobox enabled property correctly, the ComboBox interactivity is not > correct until something redraws the list, like scrolling. > > I can make it work with an external button that calls invalidateList() > on the DataGrid, but I want to do that from within the renderer. I have > tried: > > /** called from commitProperties */ > private function setEnabled():void > { > this.enabled = !_oItem.disabledFlag; > DataGrid(_dgListData.owner).invalidateList(); > }//setEnabled > > But this does not seem to do anything. > > Where, when and how should I make the invalidateList call from within my > renderer? >
