ArrayCollection group filter help


hi, great forum , great help.

i have flex 3 believe new group function array collections, have not installed yet i'm 2/3rds through hugh project , wanted wait until done.

so in flex 2.01 , have array collection of complex data. array collection built form returned result set mysql. each object in collection event. these events 1 of 4 types , clarity call them event 1,2,3 & 4. each object in collection contains lots of other data user fired event, tstamp happened, quarter happened in, month , year event happened.

there hundreds of these events happen each month. 1 of displays wish show total event type month or quarter.

need show total number of event type 1, each month.
need show total number of event type 2, each month.
need show total number of event type 3, each month.
need show total number of event type 4, each month.

i can filter data, need calculate data. can via remote calls mysql , having sql sorting, make 1 init call mysql , sort array collection in flex.

i hope makes sense :)
i.e
for each event add event type total each month.
extract of array collection
[eventtype:1, month:3, quarter:q1, year:2006,user:x]
[eventtype:1, month:3, quarter:q1, year:2006,user:y]
[eventtype:2, month:3, quarter:q1, year:2006,user:y]
[eventtype:1, month:3, quarter:q1, year:2006,user:y]
[eventtype:1, month:4, quarter:q1, year:2006,user:y]

sorry double posted reason...


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support