I have an itemRollover event handler in my datagrid. 

This datagrid also has some invisble columns (i made them visible=false during 
the datagrid's initialize event)

Now if I make col0 invisible, and col1 visible, 
i.e.
<mx:DataGridColumn dataField="col0" visible="false"..
<mx:DataGridColumn dataField="col1" visible="true"..

when I try to determine which column i'm rollong over...i'm getting the wrong 
value
public function itemRolloverHandler(e:ListEvent):void
{
  var  myDataField:String = this.columns[e.columnIndex].dataField;

//myDataField="col0" but it should be "col1" as col0 is invsible
}
Is there anything I can do so e.columnIndex has the right value?

thanks




Reply via email to