Tag Archives: List

List set row height 设置单元格的高度

rowHeight:Number [read-write]
The height of the rows in pixels. Unless the variableRowHeight property is true, all rows are the same height. If not s

More…

Posted in ActionScript, Flex | Tagged , , | Leave a comment

AIR中通过右键直接选定基于LIST容器[DataGrid, List, Tree等]的数据 – Select List item with mouse right-click

在很多情况下, 我们在DataGrid, List, Tree等容器中使用右键, 进行如修改, 删除 某行的操作. 问题是如果该容器初始状态下直接进行右键点击时, 并不能选定任何数据. 通过监听右键菜单SELECT事件, 获取到当前右键所击位置的Index, 并将之赋值给DataGrid或其他容器的SelectIndex, 完成点击操作

Posted in AIR | Tagged , , , , , | 4 Comments