[flexcoders] Re: Custom header renderer and headerText

2008-10-06 Thread markgoldin_2000
Anybody please help, I am really stuck with it.

--- In flexcoders@yahoogroups.com, markgoldin_2000 
[EMAIL PROTECTED] wrote:

 How do I get headerText if I use VBox + Label as a custom header 
 renderer?
 
 Thanks





[flexcoders] Re: Custom header renderer and headerText

2008-10-06 Thread Tim Hoff

Mark,

Do something like this for the HeaderRenderer:

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
horizontalAlign=center
 mx:Label  text={ this.data.headerText } /
/mx:VBox

-TH

--- In flexcoders@yahoogroups.com, markgoldin_2000
[EMAIL PROTECTED] wrote:

 Anybody please help, I am really stuck with it.

 --- In flexcoders@yahoogroups.com, markgoldin_2000
 markgoldin_2000@ wrote:
 
  How do I get headerText if I use VBox + Label as a custom header
  renderer?
 
  Thanks
 





[flexcoders] Re: Custom header renderer and headerText

2008-10-06 Thread markgoldin_2000
And then I will be able to access headerText like this:
columns[somevar].headerText ?

--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 Mark,
 
 Do something like this for the HeaderRenderer:
 
 ?xml version=1.0 encoding=utf-8?
 mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
 horizontalAlign=center
  mx:Label  text={ this.data.headerText } /
 /mx:VBox
 
 -TH
 
 --- In flexcoders@yahoogroups.com, markgoldin_2000
 markgoldin_2000@ wrote:
 
  Anybody please help, I am really stuck with it.
 
  --- In flexcoders@yahoogroups.com, markgoldin_2000
  markgoldin_2000@ wrote:
  
   How do I get headerText if I use VBox + Label as a custom header
   renderer?
  
   Thanks
  
 





[flexcoders] Re: Custom header renderer and headerText

2008-10-06 Thread Tim Hoff

You tell me.  The example below will display whatever you place in the
DataGridColumn headerText property.

-TH

--- In flexcoders@yahoogroups.com, markgoldin_2000
[EMAIL PROTECTED] wrote:

 And then I will be able to access headerText like this:
 columns[somevar].headerText ?

 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  Mark,
 
  Do something like this for the HeaderRenderer:
 
  ?xml version=1.0 encoding=utf-8?
  mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
  horizontalAlign=center
  mx:Label text={ this.data.headerText } /
  /mx:VBox
 
  -TH
 
  --- In flexcoders@yahoogroups.com, markgoldin_2000
  markgoldin_2000@ wrote:
  
   Anybody please help, I am really stuck with it.
  
   --- In flexcoders@yahoogroups.com, markgoldin_2000
   markgoldin_2000@ wrote:
   
How do I get headerText if I use VBox + Label as a custom header
renderer?
   
Thanks