Does my control have to implement some interfaces which are 
implemented by DataGrid?
I'd like a simple explanation what list controls do behind the scene 
when it's item is updated.

Thanks..


--- In [email protected], "Danko Kozar" <[EMAIL PROTECTED]> 
wrote:
>
> Yes I now that - but I'd like to happen automattically. Just as 
when 
> you alter the property of the DataGrid item like this: 
> 
> myDataGrid.items[3].myProperty = 2007
> 
> ... that action itself broadcasts the change to the grid's 
> dataProvider!
> 
> So I'd like to have only the line: 
> 
> mySprite.x = 123 
> 
> .. and that has to change the dataProvider..
> 
> Thx..
> 
> 
> 
> --- In [email protected], "Clint Tredway" <grumpee@> 
> wrote:
> >
> > in your dragDrop event, broadcast the items x & y along with its
> > arrayCollection identifier and update the collection.
> > 
> > On 2/2/07, Danko Kozar <danko.kozar@> wrote:
> > >
> > >   I'm trying to create a control that receives a dataProvider 
> (which is
> > > an ArrayCollection of Objects) and draws these objects as 
Sprites 
> on
> > > screen (the object contains x and y property (coordinate) of the
> > > Sprite).
> > >
> > > My question is: when moving the object with mouse, how can it's 
> new
> > > position automatically be propagated to the dataProvider?
> > >
> > > I want to accomplish that my Sprites behave like DataGrid 
items: 
> when
> > > changing it's properties (x and y), i'd like the objects in
> > > dataProvider to be updated with (x,y) data.
> > >
> > > Thanks in advance!
> > >
> > > Danko
> > >
> > >  
> > >
> > 
> > 
> > 
> > -- 
> > http://indeegrumpee.spaces.live.com/
> >
>


Reply via email to