[flexcoders] Re: Triggering update refresh for dataGrid

2006-06-13 Thread Scott Romer
Thanks Mike. You've basically come to the same conclusion I have. I really appreciate your time in trying to figure this out as well.. If you ever get any other ideas, feel free to let me know. I'm just planning to move on for now.. (the customer really won't notice they they have to add an

Re: [flexcoders] Re: Triggering update refresh for dataGrid

2006-06-13 Thread Michael Schmalle
Looking through the source one more time; Adobe, correct me if I am wrong but the error looks like it is in the updateDisplayList(). I can't even find a hack looking at the code. ;-) Peace, MikeOn 6/13/06, Scott Romer [EMAIL PROTECTED] wrote: Thanks Mike.

[flexcoders] Re: Triggering update refresh for dataGrid

2006-06-13 Thread Scott Romer
I think I have a solution to my refresh problem. I had tried this in my real project, but didn't really try it in my small example that I sent to the message group. Perhaps I had a typo or there was some other change that seems to make it work now, but here is my solution: // Basically, in the

[flexcoders] Re: Triggering update refresh for dataGrid

2006-06-13 Thread Tim Hoff
From a previous post, it was determined that updating an array, used with an ArrayCollection, doesn't bind well to a view. Paul Williams suggested doing something like this: [Bindable] public var employees : ArrayCollection = new ArrayCollection(); [Bindable] public var employeesDP :

Re: [flexcoders] Re: Triggering update refresh for dataGrid

2006-06-13 Thread Jeremy Lu
hi, if you trace the codepath for DataGrid, you will find that in parent class Listbase class, when you assign an Array as the dataprovider, it will be wrapped in an ArrayCollection, and then DataGrid will listen to collectionChange event from it. When collection changes, it will trigger