Auto-Wiring Event List
Auto-Wiring Event List
The complete list of events that are auto-wired is below.
View:
- afterViewLoad - called after the view and all panels have been loaded, but before the initial data fetch
- afterInitialDataFetch - called after the initial data fetch is complete for all panels
Any Panel:
- panelId _on ActionId - called when the user clicks on specified panel-level action button
Any Data-bound Panel (form, grid, columnReport, chart, crossTable)
- panelId _afterRefresh - called after the panel data has been refreshed from the data source
- panelId_ onDragOver - called periodically when the user is dragging an object over the panel; the event handler can return true to indicate the the drop is permitted
- panelId _onDragDrop - called when the user drops an object onto the panel
Grid Panel:
- panelId _onFieldId - called when the user clicks on specified row-level action button, defined in the grid field element
- panelId _onMultipleSelectionChange - called after the user selects or unselects any row in the grid with multiple selection
Form Panel:
- panelId _beforeRefresh - called when the form is about to be refreshed from the data source
- panelId _beforeSave - called when the form data is about to be saved; the event handler can return false to prevent the save operation
- panelId _beforeDelete - called when the form record is about to be deleted; the event handler can return false to prevent the delete operation
- panelId_onActionId - called when the user clicks on specified field-level action button, defined in the form field element
- panelId_ onAutoCompleteSelect: called when the user selects an item from the auto-complete drop-down. The listener takes three parameters: the form panel reference, the field name, and the selected value.