Unbound Mode > Unbound Mode Events |
In DataMode 1 - Unbound, the grid fires one event when it needs to determine a relative bookmark, another when it needs to fetch data rows. The first event is optional and can be implemented to improve performance; the second event is mandatory:
Fired when the control needs to retrieve a bookmark. |
|
Fired when the control requires unbound data for display. |
In DataMode 2 - Unbound Extended, the grid fires a single event to acquire both data and relative bookmarks. This event is mandatory:
Fired when the control needs to retrieve a bookmark or requires unbound data for display. |
In modes 1 and 2, the following three events are optional, depending upon end-user permission settings:
Fired when the current row of the grid has been modified and the user commits the changes by leaving the row. This event is your notification that the user wants to modify a row in the unbound dataset. It is also fired when the grid's Update method is executed in code. Required if AllowUpdate is True. |
|
Fired when the user types data into the grid's AddNew row and commits the changes by leaving the row. This event is your notification that the user wants to add a new row to the unbound dataset. Required if AllowAddNew is True. |
|
Fired when the user deletes the current grid row by clicking its record selector and pressing the Del key. This event is your notification that the user wants to delete a row from the unbound dataset. It is also fired when the grid's Delete method is executed in code. Required if AllowDelete is True. |