The IDataBook Iinterface defines the possible events that can occur while using DataBooks. These events are triggered on different occasions. The following instructions show the possible event triggers and the exact event sequence.
Event | Description |
---|---|
BEFORE INSERTING |
|
AFTER INSERTING | Set default values |
BEFORE INSERTED |
|
AFTER INSERTED | Process server-tier data |
Event | Description |
---|---|
BEFORE UPDATING | Manual locking |
AFTER UPDATING | Control visibility or en-/disable components. For example, when editing is not permitted |
BEFORE UPDATED |
|
AFTER UPDATED | Process server-tier data |
Event | Description |
---|---|
BEFORE DELETING |
|
AFTER DELETING | Call saveSelectedRow() at the DATA_SOURCE Isolation Level |
BEFORE DELETED | If writeback is deactivated, a server action can be called to perform the deletion |
AFTER DELETED | Calculate sums |
Event | Description |
---|---|
BEFORE RESTORE | Throw exception to NOT discard changes |
AFTER RESTORE | Update GUI/status |
Event | Description |
---|---|
VALUE CHANGED |
|
Event | Description |
---|---|
BEFORE ROW SELECTED | Throw exception to prevent leaving the row |
AFTER ROW SELECTED | Control visibility or en-/disable components after a row change |
Event | Description |
---|---|
BEFORE COLUMN SELECTED | Throw exception to prevent leaving the column |
AFTER COLUMN SELECTED | Control visibility or en-/disable components after a column change |