:: Home >>

header link

Sets or retrieves the link URL in the grid column headers (header link). Requires link template (AW.Templates.Link).

Syntax

var value = obj.getHeaderLink(); 
obj.setHeaderLink(value);        

obj.onHeaderLinkChanging = function(value){...}; 
obj.onHeaderLinkChanged = function(value){...}; 
obj.onHeaderLinkError = function(value){...}; 

Defined in

header model

Examples

Single header cell

obj.setHeaderText("Search", 0);
obj.setHeaderLink("http://www.google.com", 0);
obj.setHeaderTemplate(new AW.Templates.Link, 0);

Complete header row

obj.setHeaderText(textArray);
obj.setHeaderLink(linkArray);
obj.setHeaderTemplate(new AW.Templates.Link);

See also

Grid templates: header, link template
Header model: text, image, tooltip, value, data, format
Link properties: cell, selector, footer, top, bottom

Comments

No comments yet.
Comments will appear on this page and in the main forum.

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