Have you explored the variableRowHeight property / attribute of your
<mx:AdvancedDataGrid> tag?  This allows the height of the control to adjust
in height based on the content provided to the cell or row.  If you don't
set the variableRowHeight attribute in the tag, the default is false.
Happily, if you by mistake have defined the rowHeight as well in the tag,
flex ignores the defined height you provided and goes on it's merry way of
giving you AdvancedDataGrid the adjustable row height.

Example: <mx:AdvancedDataGrid variableRowHeight="true" />

If you aren't already using it, you may want to use the wordWrap attribute
if your content is overflowing.
As for your variable row gaps, have you tried giving a value to the
verticalGap attribute?

If you had something different in mind, please to give more detail.  You can
programmably build your AdvancedDataGrid will a tidy bit of AS code.





On Fri, May 30, 2008 at 5:45 PM, Dale Bronk <[EMAIL PROTECTED]> wrote:

>  I have an AdvancedDataGrid with one of the columns being a tree.  I'm
> trying to accomplish a couple things and having problems.
>
>
>
> 1.       Depending on the data, I want to adjust the rows height.
>
> 2.       Depending on the data, I want to adjust the gap between the rows.
>
>
>
> Any advice/suggestions/examples are appreciated.
>
>
>
> Thanks,
>
> Dale
>
>
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, simply email the list with unsubscribe in
> the subject line
>
> For more info, see http://www.affug.com
> Archive @ http://www.mail-archive.com/discussion%40affug.com/
> List hosted by FusionLink <http://www.fusionlink.com/>
> -------------------------------------------------------------



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to