2 Replies Latest reply on Sep 2, 2009 9:14 AM by crissy84

    Datagrid within Datagrid - Rows not resizing to fit content

    crissy84

      Hi,

      I have a datagrid with a custom item renderer that renders another data grid... so one column will render datagrids within the outer datagrid.  The problem is that the row does not size to fit the inner datagrid.  I can't set the rowHeight on the outer datagrid because the inner datagrids have dynamic data and i don't know how many rows they will have.  Also, after the datagrid is rendered, more rows may be added to any number of inner datagrids at a later time... and I need the rows holding them to resize accordingly.   Setting variableRowHeight=true on the outer grid doesn't seem to help either.

       

      Any ideas on how to do this? 

       

      Thanks!