Contains the properties (text, image, tooltip etc.) of the top-left corner of the grid control (top selector).
var value = obj.getTopProperty(name); // Retrieve property by name
obj.setTopProperty(name, value); // Assign property value
obj.defineTopProperty(name, value); // Define new property
var external = obj.getTopModel(); // Get reference to external model
obj.setTopModel(external); // Assign external model
obj.clearTopModel(); // Clear/reset all properties
data | Top selector data. |
format | Top selector formatting object. |
image | Top selector image. |
link | Top selector hyperlink URL. |
state | Top selector state. |
text | Top selector text. |
tooltip | Top selector tooltip. |
value | Top selector value. |
var obj = new AW.UI.Grid;
obj.setSelectorVisible(true);
obj.setSelectorWidth(100);
obj.setTopText("top text");
obj.setTopImage("favorites");
obj.setTopTooltip("tooltip text");
document.write(obj);
Grid templates: top selector
Related models: header, selector, bottom