can;t u just do col.headerRenderer
----- Original Message ----
From: Mark Bradley <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 17, 2008 1:01:41 PM
Subject: [flexcoders] DataGridColumn headerRenderer instance
Greetings all,
Can anyone tell me how to access the visible headerRenderer instance
given a DataGridColumn instance?
public function getVisibleHeaderRen derer( col:DataGridColumn ): Object {
var grid:DataGrid = this;
// somehow get the header renderer (if it is visible)
return ??
}
I'm really stuck here, but I know there has got to be a way! I can do
it if I have a MouseEvent on the column header itself, but how can I
get it without an event?
I've also tried DataGrid.getMeasuri ngRenderer, passing in the
DataGridColumn instance (and true) and I do not get back the correct
renderer (I actually get back the last header renderer).
Any help?
Thanks!
-Mark
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping