I have an AdvancedDatagrid, whose dataProvider is an ArrayCollection that contains 1 row of displayable stuff.
Flex continues to display about 6 rows, the top one filled, the rest blank.
I've set the rowCount="1", with no luck.
I have an AdvancedDatagrid, whose dataProvider is an ArrayCollection that contains 1 row of displayable stuff.
Flex continues to display about 6 rows, the top one filled, the rest blank.
I've set the rowCount="1", with no luck.
您可以将行计数属性值设置为 2,即 rowCount="2".. 一行用于标题,另一行用于数据..
rty
前几天我实际上遇到了这个问题。事实证明,我将 AdvancedDataGrid 的高度设置为 100%,这会覆盖 rowCount 属性。如果您查看文档,它会说“如果已明确设置组件的高度,则此属性可能没有任何效果。”
它将显示空白行,因为您必须缩短网格的大小