|
Hello Mike, I am pasting some sample code below, and
it seems to work ok as I click on the rows of the DataGrid. If this works for
you, could you please send me your sample code and I'll take a look at how
you're implementing it? By the way, if you send your code in a zip file,
please take the period out of the .zip extension so the mail server won't
remove it. Thanks, - Rob Here is the code: <?xml version="1.0"
encoding="utf-8"?> <mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
width="100%" height="100%"> <mx:Script><![CDATA[ [Bindable] public
var sLetter:String; [Bindable] public
var sNumber:String; ]]></mx:Script> <mx:Binding
source="dg1.selectedItem.letter" destination="sLetter"
/> <mx:Binding
source="dg1.selectedItem.number" destination="sNumber"
/> <mx:HBox> <mx:Label
text="Letter:" /> <mx:TextArea
id="ta1" htmlText="{sLetter}" /> </mx:HBox> <mx:HBox> <mx:Label
text="Number:" /> <mx:TextArea
id="ta2" htmlText="{sNumber}" /> </mx:HBox> <mx:DataGrid
id="dg1" > <mx:dataProvider> <mx:Array> <mx:Object
letter="AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA
AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA AAAAA
AAAAA" number="11111 11111 11111 11111 11111 11111 11111 11111 11111
11111 11111 11111 11111 11111 11111 11111 11111 11111 11111 11111 11111 11111
11111 11111"/> <mx:Object
letter="B" number="2"/> </mx:Array> </mx:dataProvider> </mx:DataGrid> </mx:Application> From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton When I set the htmlText
attribute of a TextArea to the value of a DataGrid's selectedItem, at runtime
the TextArea's scrollbar doesn't show up. I have to resize the
VDividedBox it's in to get the durn scrollbar to appear. Has anyone
experienced this problem? -- 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
YAHOO! GROUPS LINKS
__,_._,___ |

