In an AdvancedDataGrid using an MXAdvancedDataGridItemRenderer, mouseover was not being passed on to the AdvancedDataGrid.
After days of struggle, I wanted to share this: In your data setter, assign super.data with the new value for mouse events to be bubbled (?!)
Example (doesn't work)
override public function set data( value:Object):void {
var latency:Number = value[ ( this.listData as DataGridListData).dataField] as Number;
// Do cool stuff
Example (works)
override public function set data( value:Object):void {
var latency:Number = value[ ( this.listData as DataGridListData).dataField] as Number;
super.data = value;
// Do cool stuff
just declare super.data = value before var latency......
override public function set data( value:Object):void {
super.data = value;
var latency:Number = value[ ( this.listData as DataGridListData).dataField] as Number;
The example above works. Hope it can save you the time it took me to figure out.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.