1. Microsoft Learn | Power Apps | GridControl OnLoad event: "The OnLoad event occurs every time the grid is refreshed. This includes when a user sorts the grid or changes pages." This source directly confirms that the OnLoad event for a subgrid handles both the initial load and subsequent sorting actions.
Section: GridControl OnLoad event
2. Microsoft Learn | Power Apps | Events in forms and grids in model-driven apps: This document provides an overview of the different events available for client-side scripting. It distinguishes between form-level events and grid-level events, clarifying the specific triggers for each.
Section: Grid events
3. Microsoft Learn | Power Apps | OnSave event (Client API reference): "Occurs when a record in an editable grid is saved." This confirms that OnSave is tied to the save action, not loading or sorting.
Section: OnSave event (Client API reference)
4. Microsoft Learn | Power Apps | OnRecordSelect event (Client API reference): "Occurs when a single row (record) is selected in an editable grid." This confirms OnRecordSelect is for row selection only.
Section: OnRecordSelect event (Client API reference)