Hi,

Maybe I’m missing something really obvious. But is there an
easy way to make the AdvancedDataGrid’s height automatically adjust
to the number of rows actually being used? I don’t want any
scrollbars, I just want it to ‘fit to content’. Any ideas?

Thanks|||
instead of setting the “height” property of a datagrid, set
the “rowCount” property. You CANNOT set “height” if you do this
(height will override the rows I think).

What you can do is then when you get the data you can say:

myDataGrid.rowCount = mydata.length;|||
Terrific, I think that’s exactly what I was looking for.

Thanks a bunch

Related posts:

  1. Datagrid shows empty rows
  2. How to fix rowCount of Datagrid?
  3. Drag to Reorder Rows in AdvancedDataGrid
  4. Additional parameter to labelFunction
  5. AdvancedDatagrid & Printing

Related posts brought to you by Yet Another Related Posts Plugin.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2012 free icons download Suffusion theme by Sayontan Sinha

Featuring Recent Posts WordPress Widget development by YD