:: Documentation >>

header height

Sets or retrieves the height of the grid header row. Each header row can have a different height (in the extended grid with multiple header rows).

Syntax

var value = obj.getHeaderHeight(); 
obj.setHeaderHeight(value);        

obj.onHeaderHeightChanging = function(value){...}; 
obj.onHeaderHeightChanged = function(value){...}; 
obj.onHeaderHeightError = function(value){...}; 

Defined in

header model

Examples

Simple grid -

obj.setHeaderHeight(40);

Extended grid (several header rows) -

obj.setHeaderHeight(40, 0); // first line of headers
obj.setHeaderHeight(20, 1); // second line

See also

How to: Multiline text in headers
Grid templates: headers
Header model: count, indices, visible, height
Height properties: row, header, footer

Comments

setHeaderHeight - causes content overlap? PR (4)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5