开发者

Advanced DataGrid in flex

I am using Adva开发者_如何学PythonncedDataGrid 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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜