2 Replies Latest reply on Dec 30, 2006 2:40 PM by JamieMason

    Set DataGrid height by number of rows?

      Hi all,
      I have DataGrid component displaying XML data which I expected the height (if it wasn't explicitly set) would extend to include all the rows, however many there may be - like an HTML table would.

      This doesn't seem to be how they do work though, I get a defauilt height which leaves me with empty rows if theres less than x rows, or scrollbars if there's more than x rows.

      Does anyone know how I could script around this? Or whether I'm doing something wrong?

      Thanks a lot,