Try the rowCount attribute of the DataGrid component...that will allow
you to control the height of the datagrid component based on the number
of elements in your dataProvider...

Then depending on how you have the layout containers nested and the
heights set on them, the scrollbars on the parent VBox, HBox or whatever
should appear as needed...allowing you to scroll the whole screen and
not just the datagrid...

robert l. brueckmann
vice president
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Monday, March 20, 2006 3:53 PM
To: [email protected]
Subject: [flexcoders] Flex 1.5 - Automatically Lengthen dataGrid based
on #rows

Hello,
Is it possible to have a DataGrid that is a minimum fixed size, but
gets ever longer based on the number of rows provided to it? I
basically need to NOT have a scroll bar on the DG, but instead scroll
the whole browser window when necessary. In the Webster RIA book they
alluded to it with the now deprecated heightFlex attribute, but
experimenting with the replacement height attribute is not producing
the desired result. Is there perhaps an example somewhere that you
guys could point me to?

Thanks,
Libby





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 
--------------------------------------------------------

This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to