One handy way to iterate the contents of an ArrayCollection to make a
temporary vector from the source array of the collection, and use the
vector.forEach method.
At 07:43 12/2/2011, ZIONIST wrote:
Hi Guys, i would like to get the total price calculated as an array
collection for a list is
The way I would do this is to add a change event listener to the array
collection - and in the listener I would iterate through the collection to sum
the values. I would also create a value object to hold your data in a type
safe fashion. You could then use data binding to get UI updates in
Hi Guys, i would like to get the total price calculated as an array collection
for a list is populated plus i would like to update the total when the quantity
changes too. Here is the code i have so far, could someone please help me
correct it.
Main App
?xml version=1.0 encoding=utf-8?
3 matches
Mail list logo