User Guide

282 Chapter 6: Components Dictionary
DataGridColumn.headerRenderer
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.getColumnAt(index).headerRenderer
Description
Property; a string that indicates a class name to be used to display the header of this column. Any
class used for this property must implement the CellRenderer API (see “CellRenderer API”
on page 145). The default value is
undefined.
Example
The following example uses a linkage identifier to set a new header renderer:
myGrid.getColumnAt(3).headerRenderer = "MyHeaderRenderer";
DataGridColumn.headerText
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.getColumnAt(index).headerText
Description
Property; the text in the column header. The default value is the column name.
This property allows you to display something other than the field name as the header.
Example
The following example sets the column header text to “The Price”:
var myColumn = new DataGridColumn("price");
myColumn.headerText = "The Price";
DataGridColumn.labelFunction
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.