Hi,

I have a datagrid in which columns have the sortCompareFunction 
defined.  When the method is called "this" appears to refer to the 
DataGrid as expected (event).

The problem that I am having is that the compiler complains if I try 
to call any of the methods on the datagrid, as the class in which the 
handler is defined is not a DataGrid.  For example, I have the 
columnIndex and would like to get the column, so I do 

this.getColumnAt(columnIndex)

I tried casting this to DataGrid - this did not work either.

Any suggestions on I could access the methods the DataGrid, or in the 
more general case whichever object this referes to.

Thanks.





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to