OK, I get it. Do you always show all daysAry instances or are they themselves filtered?
--- In flexcoders@yahoogroups.com, "Ian Skinner" <[EMAIL PROTECTED]> wrote: > > "You appear to have a parent child relationship (or at least a > one-to-many) between daysAry and drawsQry. Are you rendering this > parent-child in a tree? I can't quite figure out what you are showing > where." > > > > Yes, each parent daysAry element has zero to many drawsQry children > elements. I am not using a tree, but data wise the concept is similar. > Each parent daysAry elements renders a VBox inside of which the various > properties of a daysAry element are displayed, including a series of > HBoxes for each drawsQry child. It is these HBox children I want > filtered based on the values of one or another combo box. > > > > > > > Confidentiality Notice: This message including any > attachments is for the sole use of the intended > recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the > intended recipient, please contact the sender and > delete any copies of this message. > > > You appear to have a parent child relationship (or at least a > one-to-many) between daysAry and drawsQry. Are you rendering this > parent-child in a tree? I can't quite figure out what you are showing > where. > > --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com, Ian Skinner <ian.skinner@> wrote: > > > > I have a remote object call that returns an array of elements > > ['daysAry'] each with several properties, including one ['drawsQry'] > > that is also an array collection. I want my display that is built > > showing all the daysAry elements with each drawsQry element to be able > > to filter which drawsQry elements are displayed based on a combobox > value. > > > > I understand I use the filterFunction property to assign a function to > > determine which elements to show. I am not sure how to best set this > > property on each and every drawsQry element in the daysAry array > > collection. > > > > Is it as simple as looping over the daysAry collection in my > > remoteObject handler and assign the function to each array collection > > property. Could I just assign a filter function to the main daysAry > > collection and inside that function loop over the drawsQry property and > > set something there. Or is there another more elegant solution I am > > over looking. > > > > Thank You > > >