Grid Flex




    
        import mx.collections.ArrayCollection;
        [Bindable]
        private var grocerySalesData:ArrayCollection = new ArrayCollection([
            {Grocer:"A", Category:"X", Item:"Apple", Q1:15, Q2:10},
            {Grocer:"A", Category:"X", Item:"Banana", Q1:25, Q2:15},
            {Grocer:"A", Category:"Y", Item:"Chicken", Q1:35, Q2:42},
            {Grocer:"A", Category:"Y", Item:"Beef", Q1:42, Q2:35},
            {Grocer:"B", Category:"X", Item:"Apple", Q1:17, Q2:12},
            {Grocer:"B", Category:"X", Item:"Pineapple", Q1:17, Q2:15},
            {Grocer:"B", Category:"Y", Item:"Pork", Q1:43, Q2:43}
        ]);