【发布时间】:2012-02-08 05:35:33
【问题描述】:
我正在开发一个 flex 项目,并且有一个数据网格,当鼠标悬停在任何包含数据的行上时,我希望光标改变。
我在数据网格上启用了双击功能,我想向用户表明他们可以点击他们悬停的行。
这是我尝试过的,但它似乎只是在数据网格上使用手形光标而不是行数据。
<mx:DataGrid x="9" y="47" width="330" height="244" useHandCursor="true" buttonMode="true" mouseChildren="true" horizontalScrollPolicy="{ScrollPolicy.AUTO}" styleName="resultgrid" dataProvider="{acLatest}" doubleClickEnabled="true" itemDoubleClick="doubleClickoverview()" id="overviewLatest_dg">
<mx:columns>
<mx:DataGridColumn headerText="Tag" id="overviewLatest_dg_animal_ptag" visible="true" dataField="animal_ptag" width="110" />
<mx:DataGridColumn headerText="Status" id="overviewLatest_dg_status_status" visible="true" dataField="status_status" width="110"/>
<mx:DataGridColumn headerText="Sex" id="overviewLatest_dg_animal_sex" visible="true" dataField="animal_sex" width="110"/>
</mx:columns>
</mx:DataGrid>
【问题讨论】:
标签: actionscript-3 apache-flex datagrid cursor