arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~Title: DataBook events~~ 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 == {{:jvx:client:model:databook:saveselectedrow.png?nolink|}} == Discarding Changes == {{:jvx:client:model:databook:restoreselectedrow.png?nolink|}} == Inserting records == {{:jvx:client:model:databook:insert.png?nolink|}} == Editing records == {{:jvx:client:model:databook:update.png?nolink|}} {{:jvx:client:model:databook:setvalue.png?nolink|}} == Deleting records == {{:jvx:client:model:databook:delete.png?nolink|}} == Row change == {{:jvx:client:model:databook:setselectedrow.png?nolink|}} == Column change == {{:jvx:client:model:databook:setselectedcolumn.png?nolink|}} == Updating data == {{:jvx:client:model:databook:reload.png?nolink|}} == Row change in Master == {{:jvx:client:model:databook:masterchanged.png?nolink|}} === Examples === == Insert == ^Event^Description^ |BEFORE INSERTING|<WRAP> * Change current selection, e.g. to always insert in the first or last row * Throw exception to prevent insertion </WRAP>| |AFTER INSERTING|Set default values| |BEFORE INSERTED|<WRAP> * Input-independent change of values * If writeback is deactivated, a server action can be called to perform the insertion </WRAP>| |AFTER INSERTED|Process server-tier data| == Update == == Delete == == Restore == == Value changed == == Row selected == == Column selected ==