# Events

- [onAppStart](/brixxbox-documentation/client-api-reference/events/onappstart.md): The event occurs when an app is started but before a record is loaded and the OnAppInitialized event is fired. Default Values are set at this point.
- [onAppInitialized](/brixxbox-documentation/client-api-reference/events/onappinitialized.md): The event occurs when an app is initialized. The OnAppStarted event is processed at this point. If a record id was given as a start parameter, the record is loaded and displayed at this time.
- [onAttachmentDeleted](/brixxbox-documentation/client-api-reference/events/onattachmentdeleted.md): The event occurs when a user deletes an attachment from the right sidebar. The delete attachment function does not trigger the event.
- [onAttachmentsShow](/brixxbox-documentation/client-api-reference/events/onattachmentsshow.md): This event is called just before the attachments panel open. Can be used to set the config and id of the attachments you want to show. This is an App wide event!
- [onAttachmentsHide](/brixxbox-documentation/client-api-reference/events/onattachmentshide.md): The event occurs when the right sidebar for attachments gets closed
- [onChange](/brixxbox-documentation/client-api-reference/events/onchange.md): The event occurs when a control content is changed. You can use app.isLoadingRecord if you need to know if a record is loading and that is the reason for the change event.
- [onCellClick](/brixxbox-documentation/client-api-reference/events/oncellclick.md): The event occurs when a grid cell is clicked. You can get more information where exactly the user has clicked.
- [onCellEdit](/brixxbox-documentation/client-api-reference/events/oncelledit.md): The event is triggered when a grid cell value is changed thru the funtionality of the grid CellEdit settings.
- [onClick](/brixxbox-documentation/client-api-reference/events/onclick.md): The event occurs when a control is clicked.
- [onChildAppClosed](/brixxbox-documentation/client-api-reference/events/onchildappclosed.md)
- [onDataTransform](/brixxbox-documentation/client-api-reference/events/ondatatransform.md): The event can be used to transform a datasource line.
- [onEventClick](/brixxbox-documentation/client-api-reference/events/oneventclick.md): The event occurs the user clicks on one of the events. getFieldValue('controlId.changedEvent') or eventArgs.details can be used to determin the clicked event
- [onEventChange](/brixxbox-documentation/client-api-reference/events/oneventchange.md): The event occurs the user moves or modifies an event. getFieldValue('controlId.changedEvent') or eventArgs.details can be used to determin the changed event
- [onFileImport](/brixxbox-documentation/client-api-reference/events/onfileimport.md)
- [onKeyDown](/brixxbox-documentation/client-api-reference/events/onkeydown.md)
- [onKeyPress](/brixxbox-documentation/client-api-reference/events/onkeypress.md): The event occurs when a key is pressed. You can access the event information, using the event parameter.
- [onModalClose](/brixxbox-documentation/client-api-reference/events/onmodalclose.md): The event occurs when an app closes from a modal state.
- [onMailHistoryShow](/brixxbox-documentation/client-api-reference/events/onmailhistoryshow.md): This event is called just before the mail history panel open.
- [onRowClick](/brixxbox-documentation/client-api-reference/events/onrowclick.md): The event occurs when a grid row is clicked. You can get more information where exactly the user has clicked.
- [onRecordLoad](/brixxbox-documentation/client-api-reference/events/onrecordload.md): The event occurs right before a record is loaded. By returning false, the following load operation is canceled
- [onRecordLoaded](/brixxbox-documentation/client-api-reference/events/onrecordloaded.md): The event occurs after a record is loaded and displayed. You could do some updates or refreshes at this point.
- [onRecordSave](/brixxbox-documentation/client-api-reference/events/onrecordsave.md): The event occurs right before a record is saved. By returning false, the following save operation is canceled
- [onRecordSaved](/brixxbox-documentation/client-api-reference/events/onrecordsaved.md): The event occurs when a record is saved. You might want to do some additional tasks in that case.
- [onRowSelectionChanged](/brixxbox-documentation/client-api-reference/events/onrowselectionchanged.md): Scope: grid The event is triggered when the selection of grid lines change. When a line is selected or deselected.
- [onRowCreated](/brixxbox-documentation/client-api-reference/events/onrowcreated.md): The event occurs when a grid control displays a row. RowCreated does not mean that a database record is created.
- [onRecordNew](/brixxbox-documentation/client-api-reference/events/onrecordnew.md): The event occurs on app level as well as on a grid control.
- [onRecordDelete](/brixxbox-documentation/client-api-reference/events/onrecorddelete.md): The event occurs right before a record is deleted. By returning false, the following delete operation is canceled
- [onRecordDeleted](/brixxbox-documentation/client-api-reference/events/onrecorddeleted.md): Scope: grid, app wide The event occurs when a record is deleted. The ids of the deleted records are passed as an array in eventArgs.details for example: \["1", "5", "10007"]
- [onKeyUp](/brixxbox-documentation/client-api-reference/events/onkeyup.md): The event occurs when a key is released. You can access the event information, using the event parameter.
- [onScan](/brixxbox-documentation/client-api-reference/events/onscan.md): The scan events gets triggered when a barcode (or 2D code) is scanned, e.g. by using the wedgeScanner control. You can then ask the control for the scanned code.
- [onReturnFromModal](/brixxbox-documentation/client-api-reference/events/onreturnfrommodal.md)
- [onSubDataRequest](/brixxbox-documentation/client-api-reference/events/onsubdatarequest.md): This event is called when a subDataSource is requested. You can return the data here instead of fetching it from the server automatically
- [onTabShown](/brixxbox-documentation/client-api-reference/events/ontabshown.md): The event occurs when a tab page comes to the visible state. You might want to refresh some data here.
- [onTimeSelected](/brixxbox-documentation/client-api-reference/events/ontimeselected.md): The event is triggered when a empty time period is selected by the user. You can use this to create a new calendar event
- [onPictureTaken](/brixxbox-documentation/client-api-reference/events/onpicturetaken.md)
- [OnCheckPermissions](/brixxbox-documentation/client-api-reference/events/oncheckpermissions.md)
