问题
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.
回答1:
I actually ran into this issue the other day. It turns out I was setting the height of the AdvancedDataGrid to 100%, which overrides the rowCount property. If you check out the documentation, it says "If the height of the component has been explicitly set, this property might not have any effect."
回答2:
you can set the row Count property value to 2 that is rowCount="2".. one row for the header other for the data ..
rty
回答3:
It will show blank rows for that you have to shorten the size of the grid
来源:https://stackoverflow.com/questions/1231732/how-do-i-get-a-flex-advanceddatagrid-to-display-just-one-row