You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/model-driven-apps/clientapi/reference/events/grid-onsave.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,19 @@ contributors:
14
14
---
15
15
# Grid OnSave event (Client API reference)
16
16
17
-
The `OnSave` event occurs before sending the updated information to the server, and when any of the following occurs:
17
+
The `OnSave` event occurs before sending the updated information to the server, and when any of the following occurs:
18
18
19
-
- There is a change in the record selection.
19
+
- There's a change in the record selection.
20
20
- The user explicitly triggers a save operation using the editable grid's save button.
21
21
- The user applies a sort, filter, group, pagination, or navigation operation from the editable grid while there are pending changes.
22
22
23
23
Some important points to consider for the `OnSave` event:
24
24
25
-
- If a user edits multiple columns of the same record in sequence, the OnSave event will only be fired once to ensure optimal performance and form behavior compatibility.
26
-
- Editable grid and the parent form have separate save buttons. Selecting the save button in one will not save changes in the other.
27
-
- Editable grid does not save pending changes when navigation operations are performed outside of its context. If the control has unsaved data, that data may be lost. Consequently, the `OnSave` event may not fire. For example, this could happen when navigating to a different record using a form lookup column or through the ribbon.
28
-
- Selecting the refresh button in the editable grid causes it to discard any pending changes, and the `OnSave` event won't be fired.
29
-
- Editable grid control does not implement an auto-save timer.
25
+
- If a user edits multiple columns of the same record in sequence, the `OnSave` event occurs only once to ensure optimal performance and form behavior compatibility.
26
+
- Editable grid and the parent form have separate save buttons. Selecting the save button in one doesn't save changes in the other.
27
+
- Editable grid doesn't save pending changes when navigation operations are performed outside of its context. If the control has unsaved data, that data might be lost. So, the `OnSave` event might not fire. For example, the `OnSave` event might not fire when navigating to a different record using a form lookup column or through the ribbon.
28
+
- Selecting the refresh button in the editable grid causes it to discard any pending changes, and the `OnSave` event isn't fired.
29
+
- Editable grid control doesn't implement an auto-save timer.
0 commit comments