Hi, You should be able to adjust the height of the DataGrid to include the header height and the height of one row. If you're using a horizontal scroll bar, you would also have to allow for it's height. Even if the DataProvider has more than one record, only one row will be visible. The vertical scroll policy would come into play though, for multiple records.
-TH --- In [email protected], "Matti Bar-Zeev" <[EMAIL PROTECTED]> wrote: > > Hi list, > > How can I set the DataGrid component to show only 1 row? I tried it with > rowCount and nothing happens. > > The component width is set to 100% and the component fill itself with > rows. I want just 1 that expands over 100%. > > Note that I'm using a DataProvider which holds only on record. > > (Flex 1.5) > > > > Thnx :-) > > > _____________________________________________________________________ _ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > _____________________________________________________________________ _ > -- 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/

