I have some data passed into the flex via webservices, and want to create a timetable. As of current, I have a timetable but the day is a column, time is a column and so on, by mapping the datafield to those columns.
I need to flip this around and have all day columns and one time column, with each day column filter to the day property, if you get what i mean.
HOw would i go about doing this? Is there a datafield property to filter this way, or is there a better way?
Assuming I understand what you’re looking for correctly, here’s what I came up with.
Basically, just create a column for each day in your datagrid and bind them to whatever value you want in your ArrayCollection. Then set the visible property for that day’s column to true based on the values in the ArrayCollection. I hope this helps!