:: Documentation >>

footer text

Sets or retrieves the text in the grid footer row (footer text). Does not encode the html controls characters (<, >, ", &) - the text containing correct html markup will be displayed as html.

Syntax

var value = obj.getFooterText(); 
obj.setFooterText(value);        

obj.onFooterTextChanging = function(value){...}; 
obj.onFooterTextChanged = function(value){...}; 
obj.onFooterTextError = function(value){...}; 

Defined in

footer model

Examples

Single footer cell

obj.setFooterText("footer text", 0); // footer text, column-0

Complete footer row

obj.setFooterText(textArray); // footer text, array

Extended grid (multiple footer rows)

// 3 footer rows
obj.setFooterCount(3);

// function - all columns/rows
obj.setFooterText(function(col, row){return col + "." + row});

// array - row 1
obj.setFooterText(["Home", "Favorites", "Font size", "Search"], 1);

// single value - col 0, row 0
obj.setFooterText("** footer **", 0, 0);

Remarks

When some of the html controls characters (<, >, ", &) should appear as text - convert them into html entity codes (&lt;, &gt;, &quot;, &amp;).

See also

Grid templates: footer
Footer model: image, tooltip, link, value, data, format
Text properties: cell, selector, header, 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