:: Documentation >>

selector text

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

Syntax

var value = obj.getSelectorText(); 
obj.setSelectorText(value);        

obj.onSelectorTextChanging = function(value){...}; 
obj.onSelectorTextChanged = function(value){...}; 
obj.onSelectorTextError = function(value){...}; 

Defined in

selector model

Examples

obj.setSelectorText("selector text"); // selector text
obj.setSelectorImage("favorites");
obj.setSelectorTooltip("tooltip text");

Use row position property to display numbers in the row selector.

obj.setSelectorText(function(i){return this.getRowPosition(i)+1});

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

Comments

Text in the first column based on numeric cell value Angel (1)

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