User Guide

258 Chapter 6: Components Dictionary
Event summary for the DataGrid class
The following table lists the events of the DataGrid class.
Events inherited from the UIObject class
The following table lists the events the DataGrid class inherits from the UIObject class.
List.maxHPosition The number of pixels the list can scroll to the right, when
List.hScrollPolicy is set to "on".
List.multipleSelection Indicates whether multiple selection is allowed in the list (true) or
not (
false).
List.rowCount The number of rows that are at least partially visible in the list.
List.rowHeight The pixel height of every row in the list.
List.selectable Indicates whether the list is selectable (true) or not (false).
List.selectedIndex The index of a selection in a single-selection list.
List.selectedIndices An array of the selected items in a multiple-selection list.
List.selectedItem The selected item in a single-selection list. This property is read-
only.
List.selectedItems The selected item objects in a multiple-selection list. This
property is read-only.
List.vPosition Scrolls the list so the topmost visible item is the number
assigned.
List.vScrollPolicy Indicates whether the vertical scroll bar is displayed ("on"), not
displayed (
"off"), or displayed when needed ("auto").
Event Description
DataGrid.cellEdit Broadcast when the cell value has changed.
DataGrid.cellFocusIn Broadcast when a cell receives focus.
DataGrid.cellFocusOut Broadcast when a cell loses focus.
DataGrid.cellPress Broadcast when a cell is pressed (clicked).
DataGrid.change Broadcast when an item has been selected.
DataGrid.columnStretch Broadcast when a user resizes a column horizontally.
DataGrid.headerRelease Broadcast when a user clicks (releases) a header.
Event Description
UIObject.draw Broadcast when an object is about to draw its graphics.
UIObject.hide Broadcast when an object’s state changes from visible to
invisible.
UIObject.load Broadcast when subobjects are being created.
Property Description