Subclass Tree and change its measure() method to report a measuredHeight
that contains the current number of rows * rowHeight

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of tvikatos
Sent: Thursday, June 12, 2008 1:50 AM
To: [email protected]
Subject: [flexcoders] Dynamic DataGrid row height ?

 

Hi all
here's the problem:
I want to use a tree as an itemRenderer within a DataGrid (not the 
advanced one as it causes me other problems). Now I want the grid to 
dynamically adjust the row's height to show all of the tree as the user 
opens/closes nodes. I have tried setting the variableRowHeight=true, 
but to no result: the row height remains unchanged and the tree nodes 
disappear if opened.

Any idea how to do this?
Thanks 

 

Reply via email to