Grid Flex


    initialize="initData()">
    
        
    import mx.collections.*;
    private var DGArray:Array = [
                    {Artist:'A', Album:'AA', Price:11.99},
                    {Artist:'B', Album:'bb', Price:11.99}];
    [Bindable]
    public var initDG:ArrayCollection;
    public function initData():void {
        initDG=new ArrayCollection(DGArray);
    }