3

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 
MonoThreaded
  • 11,429
  • 12
  • 71
  • 102

2 Answers2

2

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;
Sagar Rawal
  • 1,442
  • 2
  • 12
  • 39
2

The example above works. Hope it can save you the time it took me to figure out.

MonoThreaded
  • 11,429
  • 12
  • 71
  • 102