Grid Flex




    
        
        import mx.collections.ArrayCollection;
        [Bindable]
        private var myHierarchicalData:ArrayCollection = new ArrayCollection([
        {Column1:"A", categories: [
            {Column1:"B", categories: [
                {Column2:"C", Value1:3, Value2:4},
                {Column2:"D", Value1:2, Value2:3}]},
                {Column1:"E", categories: [
                    {Column2:"F", Value1:2, Value2:3}]},
                    {Column1:"G", categories: [
                        {Column2:"H", Value1:5, Value2:4}]},
                        {Column1:"I", categories: [
                            {Column2:"J", Value1:3, Value2:4},
                            {Column2:"K", Value1:5, Value2:4}]},
                            {Column1:"O", categories: [
                                {Column2:"P", Value1:4, Value2:4},
                                {Column2:"Q", Value1:4, Value2:4}]}
            ]}
        ]);
      
    

    
        
                            childrenField="categories" />
        

        
            
                            headerText="Column 2" />