I've forwarded this on for folks to look into.
Thanks,
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pasflex
Sent: Friday, March 10, 2006 8:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Prob]lem with wordwrap - flex 1.5
Thanks for the response.
Same behavior when setting the width of the column, as long as the
column is narrow enough to cause the contents of the cell to take up
more vertical space than the height of a grid row. Basically as
soon as you click the scroll arrow the column keeps resizing itself
(with no additional user input) until it disappears.
Also, if there are multiple rows like this as you scroll down the
grid it jumps to the top of each row so some content in the cell is
never displayed.
This is partly fixed in 2.0 in that the column no longer resizes
itself, but there is still content in the cell that is never
displayed.
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
What happens if you hard-code the column width for the word-
wrapping
column?
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of pasflex
Sent: Tuesday, March 07, 2006 1:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Prob]lem with wordwrap - flex 1.5
I have a datagrid that has wordwrap turned on for one of it's
columns. If the contents of a cell in that column are long enough
to cause a scrollbar to appear when the scrollbar is moved or the
scroll down arrow clicked the column gets narrower until it
disappears.
Also if there are multiple rows with values like this scrolling
does
not reveal the entire contents of the cell, it only goes to the
top
of the next row.
Here is some sample code that recreates the problem. Any ideas?
Thanks.
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns=* width=250 height=250 backgroundColor=#FF
mx:DataGrid width=100% height=100%
variableRowHeight=true
mx:columns
mx:Array
mx:DataGridColumn
columnName=name/
mx:DataGridColumn
columnName=title/
mx:DataGridColumn
columnName=longString wordWrap=true/
/mx:Array
/mx:columns
mx:dataProvider
mx:Array
mx:Object
namename/name
titletitle/title
longStringClick on the
scroll down arrow or on the scroll bar below the scroll control.
This is a long string that is long enough to cause a vertical
scroll
bar to be displayed./longString
/mx:Object
/mx:Array
/mx:dataProvider
/mx:DataGrid
/mx:Application
--
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
--
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
--
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/