             // and you should still be hovered, so we double check and override here.
             // then we get all the other state-related variables updated so the state
             // calculation will do the right thing.
-            var listBase:Object = listData.owner;
+            var listBase:AdvancedListBase = listData.owner as AdvancedListBase;
             if (listBase)
             {
                 selected = listBase.isItemSelected(data);

    {
        event.stopPropagation();
		
		var adg:Object = listData.owner;
		var advancedDataGridListData:Object = listData;
        
        if (adg.isOpening || !adg.enabled)
            return;
        

            }
        }
    }
	
	//----------------------------------
	//  advancedDataGridListData
	//----------------------------------
	
	[Bindable("dataChange")]
	
	/**
	 *  The implementation of the <code>listData</code> property
	 *  as defined by the IDropInListItemRenderer interface.
	 *
	 *  @see mx.controls.listClasses.IDropInListItemRenderer
	 *  
	 *  @langversion 3.0
	 *  @playerversion Flash 10
	 *  @playerversion AIR 1.5
	 *  @productversion Flex 4
	 */
	public function get advancedDataGridListData():AdvancedDataGridListData
	{
		return listData as AdvancedDataGridListData;
	}
	
    //--------------------------------------------------------------------------
    //
    //  Methods
