Set proprty of "buttonMode
" and "useHandCursor
" to true in DataGrid
, it does not work as I expect. Only move the cursor to the edge between two rows, the hand cursor can show. What I expect is that no matter where the cursor is moved, it should always show hand cursor
following is one of 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>