:: Home >>

top text

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.

Syntax

var value = obj.getTopText(); 
obj.setTopText(value);        

obj.onTopTextChanging = function(value){...}; 
obj.onTopTextChanged = function(value){...}; 
obj.onTopTextError = function(value){...}; 

Defined in

top model

Examples

obj.setTopText("top text"); // top selector text
obj.setTopImage("favorites");
obj.setTopTooltip("tooltip text");

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