1 Reply Latest reply on Dec 9, 2006 10:05 AM by peterent

    Data grid row manipulation

    xyco45
      Yah, is there some sort of tag attribute or class field, or method that I can use to set the height of the data grid rows?
        • 1. Re: Data grid row manipulation
          peterent Level 2
          The width of a column is set using a DataGridColumn's .width property. You can either set that on a tag or via ActionScript. For example, to set the width of the second column to 100: (mygrid.columns[1] as DataGridColumn).width = 100;

          You can either set the height of ALL rows using the DataGrid's .rowHeight property. However, if you want rows to determine their own height, set the DataGrid's .variableRowHeight="true" and the content of a cell will determine its height; the tallest cell will become the height of the row it is in.