User Guide
DataGrid.headerRelease 289
DataGrid.headerHeight
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.headerHeight
Description
Property; the height of the header bar of the data grid, in pixels. The default value is 20.
Example
The following example sets the height of the header bar to 40. With a DataGrid instance
named
my_dg on the Stage, paste the following code in the first frame of the main timeline:
// Set grid attributes.
my_dg.setSize(240, 100);
my_dg.spaceColumnsEqually();
// Set up sample data.
var myDP_array:Array = new Array();
myDP_array.push({name:"Clark", score:3135});
myDP_array.push({name:"Bruce", score:403});
myDP_array.push({name:"Peter", score:25});
my_dg.dataProvider = myDP_array;
my_dg.headerHeight = 40;
DataGrid.headerRelease
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.