import mx.collections.ArrayCollection;
private var myHierarchicalData:ArrayCollection = new ArrayCollection([
{Column1:"A", children: [
{Column1:"B", children: [
{Column2:"C", Value1:3, Value2:4},
{Column2:"D", Value1:2, Value2:3}]},
{Column1:"E", children: [{Column2:"F", Value1:2, Value2:3}]},
{Column1:"G", children: [{Column2:"H", Value1:5, Value2:4}]},
{Column1:"I", children: [{Column2:"J", Value1:3, Value2:4},
{Column2:"K", Value1:5, Value2:4}]},
{Column1:"L", children: [
{Column2:"M", Value1:4, Value2:4},
{Column2:"N", Value1:4, Value2:4}]}
]}
]);
[Bindable]
private var dpFlat:ArrayCollection = new ArrayCollection([
{Column1:"Southwest", Territory:"Arizona",Column2:"Barbara Jennings", Value1:38865, Value2:40000},
{Column1:"Southwest", Territory:"Arizona",Column2:"Dana Binn", Value1:29885, Value2:30000},
{Column1:"Southwest", Territory:"Central California",Column2:"Joe Smith", Value1:29134, Value2:30000},
{Column1:"Southwest", Territory:"Nevada",Column2:"Bethany Pittman", Value1:52888, Value2:45000},
{Column1:"Southwest", Territory:"Northern California",Column2:"Lauren Ipsum", Value1:38805, Value2:40000},
{Column1:"Southwest", Territory:"Northern California",Column2:"T.R. Smith", Value1:55498, Value2:40000},
{Column1:"Southwest", Territory:"Southern California",Column2:"Alice Treu", Value1:44985, Value2:45000},
{Column1:"Southwest", Territory:"Southern California",Column2:"Jane Grove", Value1:44913, Value2:45000}
]);
height="100%" initialize="gc.refresh();">