Yes, very much so!
Once you have established that the list has been rendered from the dataProvider, call
myList.height = myList.calculateHeight();
signature::
public function calculateHeight(index:int = -1, count:int
= 0):Number
See the docs at ListBase. Adobe really kicked &*^ on this Flex2 framework.
Peace, Mike
On 3/12/06, Robs <[EMAIL PROTECTED]> wrote:
I have a list control with a custom cell renderer inside a repeater
object. I want the list's height to be dynamic based on the no. of
filled rows. Is it possible?
Thanks in advance...
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
What goes up, does come down.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.