2 Replies Latest reply on Feb 17, 2007 8:14 AM by Чернявский

    DataGrid with different rows

    Чернявский
      Whether it is possible to make that the datagrid had rows of different height?
        • 2. Re: DataGrid with different rows
          Чернявский Level 1
          Look this:
          <?xml version="1.0"?>
          <!-- dpcontrols/DataGridSimple.mxml -->
          <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml">
          <mx:DataGrid>
          <mx:ArrayCollection>
          <mx:Object>
          <mx:Artist>Pavement</mx:Artist>
          <mx:Price>11.99</mx:Price>
          <mx:Album>Slanted and Enchanted asd asd asd asd kj alksdjf ladksj laksdj lasdkj lasdkjf lasdkf jlasdk jl;fkasdjf ;lkadsjf lkasdjf lkasdjf lkasdj l;asdkj fl;kasdj fl;kaj slkajfs l;kjsdf</mx:Album>
          </mx:Object>
          <mx:Object>
          <mx:Artist>Pavement</mx:Artist>
          <mx:Album>Brighten the Corners</mx:Album>
          <mx:Price>11.99</mx:Price>
          </mx:Object>
          </mx:ArrayCollection>
          </mx:DataGrid>
          <mx:DataGrid wordWrap="true" variableRowHeight="true">
          <mx:ArrayCollection>
          <mx:Object>
          <mx:Artist>Pavement</mx:Artist>
          <mx:Price>11.99</mx:Price>
          <mx:Album>Slanted and Enchanted asd asd asd asd kj alksdjf ladksj laksdj lasdkj lasdkjf lasdkf jlasdk jl;fkasdjf ;lkadsjf lkasdjf lkasdjf lkasdj l;asdkj fl;kasdj fl;kaj slkajfs l;kjsdf</mx:Album>
          </mx:Object>
          <mx:Object>
          <mx:Artist>Pavement</mx:Artist>
          <mx:Album>Brighten the Corners</mx:Album>
          <mx:Price>11.99</mx:Price>
          </mx:Object>
          </mx:ArrayCollection>
          </mx:DataGrid>
          </mx:Application>