Hello, I am very new to flex and AS. So I thought I would
start out learning it from Flex 3 and AS3. My background is mainly
ColdFusion, MYSQL, and web technologies like HTML, CSS. So this was
very ambitious for me. LOL
I have been in this for about a month now and have bumped
into a problem.
I have 2 DataGrids each having its own cfc function being
called. I need to to bind these dataGrids by the customerid in both
tables, so when I select the customer datagrid it would show up
their contacts in the other. Now this sounds simple, but when I
have to use 2 cffunctions, now I am stooped. I have thought of
adding another query that would combine them into a array
collection and link them, which I don't know how to do. my thinking
was to let the server do more of the work.
the solutions I thought of are:
1. create another function that would add these to an
arraycollection -- I don't know how to do this. maybe a loop I
2. use a for loop in flex to combind these arraycollections-
this would be harder on the flex application.
3. give up - not gonna do it, flex has me hooked.
Here is what I have so far, I have both datagrids showing all
the table information for each and not filtered. Some of this
conent like application has been trimmed for an easier read.