Client API Reference

Gebra Suite Functions

The Gebra Suite provides a set of functions for each application. These functions can be used inside events, to interact with the app and modify the behaviour of the application.

Common Functions

App Functions

Field Manipulation

Printing and Documents

Data Storage

Build in Tools

Starting Apps

The Api Events are used to react on certain events. This way you can customize the behaviour of the app to your own purpose. Some events will be raised before the app executes their own logic for this event. In that case, you can return 'true' to avoid the app build in event. Otherwise the app will do its own logic after your event.

  • onAppInitialized → When the app is initialized onAppStart has happend).

  • onAppStart → When the app is started but befor it is initialized.

  • onAttachmentDeleted → Triggers when the user deletes an attachment in the sidebar.

  • onAttachmentsHide → This event occurs when the attachment sidebar gets closed.

  • onAttachmentsShow → Just before attachments panel opens.

  • onCellClick → When a grid cell is clicked.

  • onChange → When a control content is changed.

  • onChildAppClosed → When a childapp of your app closes.

  • onClick → When a control is clicked.

  • onDataTransform → The event can be used to transform a datasource line to a calender event.

  • onEventChange → The event occurs the user moves or modifies an event.

  • onEventClick → The event occurs the user clicks on one of the events.

  • onFileImport → When a file is uploaded for import.

  • onInlineEdited -> The event occurs when a data cell in a grid has been modified via inline edit.

  • onKeyDown → When a key goes down

  • onKeyPress → When a key is pressed

  • onKeyUp → When a key goes up

  • onMailHistoryShow → When the sidebar for the mail history opens

  • onModalClose → When a modal app closes.

  • onRecordDelete → Before a record is deleted.

  • onRecordDeleted → After a record was deleted.

  • onRecordLoad → Before a Record is loaded.

  • onRecordLoaded → After a Record is loaded.

  • onRecordNew → After initializing the Form. The new Record is not saved yet but can be modified with initial values.

  • onRecordSave → Before a Record is saved.

  • onRecordSaved → After a Record is saved.

  • onReturnFromModal → When a modal child app is closed, the parent will get this event

  • onRowClick → When a grid row is clicked.

  • onRowCreated → Modify a grid row. Apply a color for the row based on its values for example.

  • onRowSelectionChanged → After a the selected row of a grid has changed.

  • onScan → When a code is scanned.

  • onSubDataRequest → When the subdatasource of a control is requested

  • onTabShown → Fires when a tab page is changing to visible.

  • onTimeSelected → The event triggers when the users selects a time period in the calendar.

Last updated

Was this helpful?