Using Lists to filter a datagrid - and another list
Posted on 2009-04-01
I'm just starting to experiment with Flex, and I think it's going to hold many uses for me.
I want to have two lists act as filters on a datagrid, with the added complication of having the selections from the lists also filter each other. (So, for instance, a selection from the first list filters both the datagrid and the available options in the second list).
I've created xml datasets which are called in using the HTTPservice tag and display fine, now I need to work out how to make the selections do what I want. Also, the lists are have multiple select turned on.
Is data binding the correct method to do this? I think I might need to import the events.OptionSelectEvent class and use that?
I guess i'm just trying to make sure i'm going down the right roads here, so rather than actual code which I love working out, can anyone confirm what's the best method to achieve this?