I am trying to filter an array collection.
It is a list of rooms. The rooms have a type, "Boardroom",
Also they have equipment properties which are set with a
ex. Screen = true, Whiteboard = false etc.
What I want to do is filter the array collection using
Choose room type from combo. --- this works great :)
Screen(Check if needed) ---- Here is where my problem lies,
When I check the box, the false results are filtered out great! But
if I uncheck the box, only the false results are shown. However,I
would like to show both true and false results for the screen
property. If it is unchecked it means the user is not interested in
screens thus the data doesn't need to be filtered for that
I have tried various ways.
This is where I'm at so far
I have tried changing "item.Screen == screenCB.selected" to
"item.Screen == screenCB.selected||false;" but with no joy.
Once I get the screen checkbox working I would like to
increase the amount of checkBoxes(properties) the user can search
This one has got me ripping my hair out, any help would be
Oh yes, This is a room object.
public class Room
public var RoomID:int;
public var RoomName:String="";
public var RoomType:String="";
public var SeatingCap:int;
public var Desks:int;
public var Beds:int;
public var Screen:Boolean;
public var OHP:Boolean;
public var Sink:Boolean;
public var FlipChart:Boolean;
public var Hoist:Boolean;