--- In [email protected], "henrik.hedberg" <hen...@...> wrote: > > Thanks for the reply, this is what I did to get it to work so far: > > I created a value object class to hold exactly the data I wanted for each row > in the datagrid. When the php service returned the data I looped throught it > and transfered what I needed to instances of my VO and then added those to a > new array collection. That array collection I then bound as a dataprovider > for my datagrid. > > I put in an inline item renderer for the amount with a numeric stepper. > > The next step will then be to take the correct data from that array > collection (item id and item amount) and transfer it to a php service that > will save it in the order-table of the database. > > Since the grid and the ac are bound, I do not need to fire an event on focus > out, I already have the data in the ac. I wonder how that solution might have > worked when the user changes her mind and alters the amount many times on the > products(?)
You may want to look at AMFPHP or WebOrb to allow you to skip the step where you iterate through the data to convert it to an ArrayCollection. HTH; Amy

