sort the grid.dataProvider collection rather than the arraycollection
that you have.


--- In [email protected], "shamsham123333"
<[EMAIL PROTECTED]> wrote:
>
> Hello all,
> 
> I am writing a image viewer in Flex, many images viewed in a grid etc. 
> 
> I want the contents of the image grid to be determined by an
> ArrayCollection stored in my model, so I have used the
> BindingUtils.bindProperty function to bind a setter in my image grid
> component to the ArrayCollection off value objects in the model.
> 
> The binding works perfectly when the ArrayCollection is initially
> instantiated with the server results, and the image grid is rendered.
>  However, when the ArrayCollection is sorted the setter in my image
> grid is not called, and the changes are subsequently not displayed in
> the view.
> 
> Are there any extra steps I need to take in order to detect sorting
> events?
> 
> Many thanks
> 
> Sam
>


Reply via email to