我有一个DataGrid
,Datagrid的scolling问题 - Flex的
<mx:DataGrid styleName="alternateColor"
verticalScrollBarStyleName="verticalScrollStyle"
headerSeparatorSkin="uiExtensions.DataGridHeaderSeparators"
width="100%" height="100%" editable="false" color="#000000"
verticalGridLines="false" variableRowHeight="true"
itemEditEnd="processData(event);" sortableColumns="false">
<mx:columns>
<mx:DataGridColumn wordWrap="true" dataField="Name">
<mx:itemRenderer>
<mx:Component>
<mx:Box>
<mx:Text id="tbName" selectable="false"
width="100%" fontSize="12" text="{data.Name}"/>
<mx:Text id="tbcontact" selectable="false"
width="100%" text="{data.Contact}"/>
</mx:Box>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
我在一个的DataGridColumn添加2个文本组件后,DataGrid不向下滚动。
滚动条滚动备份上拉下来。
感谢任何帮助。
谢谢。
感谢您的回复Amarghosh ..我打算在DataGrid中,其中有两个文本控件只有一列......我已经得到了各地DataProvider中有20行,并出现一个垂直滚动条。问题是当我尝试拖动滚动条时。释放鼠标按钮时,滚动条位置本身处于其初始位置。 – Immanuel 2009-11-19 10:00:57
此外,关于我用“盒子”控制,我正好粘贴代码时,我只是想,如果该控件帮助。我现在使用的一个“垂直框”控制... – Immanuel 2009-11-19 10:05:41
发表最小的应用程序演示的错误 - 用数据。 – Amarghosh 2009-11-19 10:59:20