Если я установлю свойства "buttonMode
" и "useHandCursor
" в true в DataGrid
, это не будет работать, как я ожидаю. Только если я переместлю курсор к краю между двумя строками, курсор руки отобразится.
Я ожидаю, что независимо от того, куда перемещается курсор, он всегда должен показывать курсор в виде руки.
следующие itemRenderer
:
<?xml version="1.0" encoding="utf-8"?>
<mx:Label
xmlns:mx="http://www.adobe.com/2006/mxml"
useHandCursor="true" buttonMode="true">
<mx:Script>
<![CDATA[
import valueObject.Employee;
override public function set data(value:Object):void{
super.data = value;
var employee:Employee = value as Employee;
this.text = employee.lastName;
}
]]>
</mx:Script>
</mx:Label>
![enter image description here](https://i.stack.imgur.com/2gVgI.png)
![enter image description here](https://i.stack.imgur.com/3fAs5.png)