Also, it looks like you are doing some work in the set data()
method. This method gets called more often than you might expect.
Consider, in the set data(), storing the data in a local var then
calling invalidateProperties(), then actually do the work in
commitProperties(). I think maybe I
Thanks, I'll take a look at that. I dispatched the event because I
needed to determine if the checkbox needed to be hidden (different
post). But, adding the dispatch really did nothing for the
performance. It was just as slow before I added the dispatchEvent.
Thanks again for your suggestion.
mx:DataGrid dataProvider={yourCollection}
mx:columns
mx:DataGridColumn dataField=yourBooleanField
itemRenderer=mx.controls.CheckBox editable=true/
/mx:columns
/mx:DataGrid
Fill up the yourCollection with a bunch of objects or xml with a field
named yourBooleanField. Run it and they will
3 matches
Mail list logo