Flex 中的高级 DataGrid
我正在使用 AdvancedDataGrid,其行数动态变化。我想根据显示的行数调整网格高度。任何人都可以帮我解决这个问题。
I am using AdvancedDataGrid with its number of rows changing dynamically.I want to adjust the grid height according to the number of rows displayed.Can anyone help me out in this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定你在问什么......请提供一个例子。您希望网格随着行数的增加而不断变高吗?这是为了避免滚动条吗?在你停下来之前你希望它达到多高?您是否希望它是 1:1(高度 = numberOfRows * heightOfOneRow)?
如果您稍微详细说明一下,听起来您的要求应该非常简单。
I'm not sure what you're asking... please provide an example. You want the grid to keep getting taller as the row number increases? Is this to avoid a scroll bar? How tall would you like it to get before you stop? Are you looking for it to be 1:1 (height = numberOfRows * heightOfOneRow)?
It sounds like what you're asking for should be pretty straight forward, if you just elaborate a little bit.
这是 flex datagrid - 制作网格的骗局高度动态和包含它的组件,我在那里更全面地回答了这个问题。简短版本:
rowCount
属性控制 DataGrid 控件的高度。This is a dupe of flex datagrid - making grid height dynamic and component that contains it, and I answer the question more fully over there. Short version: the
rowCount
property controls the height of the DataGrid control.