Documentation

Trace: DataBook Events

(jvx:client:model:databook)

DataBook Events

Translations of this page:

This is an old revision of the document!


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 triggers
  • Saving records
  • Discarding changes
  • Inserting records
  • Editing records
  • Deleting records
  • Row change
  • Column change
  • Updating data
  • Row change in Master
Event examples
  • INSERT
  • UPDATE
  • DELETE
  • RESTORE
  • VALUE CHANGED
  • ROW SELECTED
  • COLUMN SELECTED
Saving Records

Discarding Changes

Inserting records

Editing records

Deleting records

Row change

Column change

Updating data

Row change in Master

Examples

Insert
EventDescription
BEFORE INSERTING
  • Change current selection, e.g. to always insert in the first or last row
  • Throw exception to prevent insertion
AFTER INSERTINGSet default values
BEFORE INSERTED
  • Input-independent change of values
  • If writeback is deactivated, a server action can be called to perform the insertion
AFTER INSERTEDProcess server-tier data
Update
Delete
Restore
Value changed
Row selected
Column selected
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information