Sets or retrieves the text in the top-left corner of the grid (top selector text). Does not encode the html controls characters (<, >, ", &) - the text containing correct html markup will be displayed as html.
var value = obj.getTopText();
obj.setTopText(value);
obj.onTopTextChanging = function(value){...};
obj.onTopTextChanged = function(value){...};
obj.onTopTextError = function(value){...};
obj.setTopText("top text"); // top selector text
obj.setTopImage("favorites");
obj.setTopTooltip("tooltip text");
When some of the html controls characters (<
, >
, "
, &
) should appear as text - convert them into html entity codes (<
, >
, "
, &
).
Grid templates: top selector
Top model: image, tooltip, link, value, data, format
Text properties: cell, selector, header, footer, bottom