:: Documentation >>

selector model

Contains the properties (text, image, tooltip etc.) of the grid row selector.

Syntax

var value = obj.getSelectorProperty(name); // Retrieve property by name
obj.setSelectorProperty(name, value);      // Assign property value
obj.defineSelectorProperty(name, value);   // Define new property

var external = obj.getSelectorModel();     // Get reference to external model
obj.setSelectorModel(external);            // Assign external model
obj.clearSelectorModel();                  // Clear/reset all properties

Properties

dataRow selector data.
formatRow selector formatting object.
imageRow selector image.
linkRow selector hyperlink URL.
resizableIndicates whether the selector is resizable.
stateRow selector state.
textRow selector text.
tooltipRow selector tooltip.
valueRow selector value.
visibleIndicates whether row selector is visible.
widthRow selector width.

Defined in

AW.UI.Grid

Used by

selector template

Examples

var obj = new AW.UI.Grid;
obj.setRowCount(1);

obj.setSelectorVisible(true);
obj.setSelectorWidth(100);
obj.setSelectorText("selector text");
obj.setSelectorImage("favorites");
obj.setSelectorTooltip("tooltip text");

document.write(obj);

See also

Grid templates: selector
Related models: row, top, bottom

Comments

How do you add an image to the first column in a grid? L. Aragon (17)

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