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.
var value = obj.getFooterText();
obj.setFooterText(value);
obj.onFooterTextChanging = function(value){...};
obj.onFooterTextChanged = function(value){...};
obj.onFooterTextError = function(value){...};
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);
When some of the html controls characters (<
, >
, "
, &
) should appear as text - convert them into html entity codes (<
, >
, "
, &
).
Grid templates: footer
Footer model: image, tooltip, link, value, data, format
Text properties: cell, selector, header, top, bottom