:: Documentation >>

header image

Sets or retrieves the image in the grid column headers (header icon). The image name should be defined in the stylesheet and linked to the actual image file with the css rules.

See how to include additional images in your stylesheet.

Syntax

var value = obj.getHeaderImage(); 
obj.setHeaderImage(value);        

obj.onHeaderImageChanging = function(value){...}; 
obj.onHeaderImageChanged = function(value){...}; 
obj.onHeaderImageError = function(value){...}; 

Defined in

header model

Examples

Single image

obj.setHeaderText("header text", 0);
obj.setHeaderImage("favorites", 0); // header image, column-0
obj.setHeaderTooltip("tooltip text", 0);

Array of images

obj.setHeaderText(textArray);
obj.setHeaderImage(imageArray); // header image array
obj.setHeaderTooltip(tooltipArray);

See also

Overview: using images
Grid templates: header
Header model: text, tooltip, link, value, data, format
Image properties: cell, selector, footer, top, bottom

Comments

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