Skip to content

Commit 2dc0d50

Browse files
committed
acrolinx
1 parent e3c503f commit 2dc0d50

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/events-forms-grids.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Events in forms and grids in model-driven apps| MicrosoftDocs"
3-
description: All client-side code is initiated by events. In model-driven apps, you associate a specific function in a JavaScript library to be executed when an event occurs. This function is called an *event handler*.
3+
description: Events initiate all client-side code. In model-driven apps, you associate a specific function in a JavaScript library to be executed when an event occurs. This function is called an *event handler*.
44
author: HemantGaur
55
ms.author: hemantg
66
ms.date: 07/08/2024
@@ -15,9 +15,9 @@ contributors:
1515
---
1616
# Events in forms and grids in model-driven apps
1717

18-
All client-side code is initiated by events. In model-driven apps, you associate a specific function in a JavaScript library ([Script web resource](../script-jscript-web-resources.md)) to be executed when an event occurs. This function is called an *event handler*. Each event handler specifies a single function within a JavaScript library and any parameters that can be passed to the function.
18+
Events initiate all client-side code. In model-driven apps, you associate a specific function in a JavaScript library ([Script web resource](../script-jscript-web-resources.md)) to be executed when an event occurs. This function is called an *event handler*. Each event handler specifies a single function within a JavaScript library and any parameters that can be passed to the function.
1919

20-
You can associate event handlers to only some events using the UI. For events that are not available to be associated through UI, Client API provides methods that can be used to attach event handlers to such events.
20+
You can associate event handlers to only some events using the UI. For events that aren't available to be associated through UI, Client API provides methods that can be used to attach event handlers to such events.
2121

2222
[!INCLUDE[cc-terminology](../../data-platform/includes/cc-terminology.md)]
2323

@@ -40,7 +40,7 @@ To add or remove event handler functions to events in the new Unified Interface:
4040

4141
![Select form from list.](../media/select-form-from-list.png "Select form from list")
4242

43-
1. Select **Events** tab. You'll notice that both the **On Save** and **On Load** event handlers.
43+
1. Select **Events** tab. Notice both the **On Save** and **On Load** event handlers.
4444

4545
![Form event handlers.](../media/form-event-handlers.png "Form event handlers")
4646

@@ -62,7 +62,7 @@ To determine when an event handler is called on a form in bulk edit mode use [`g
6262

6363
## Add or remove event handler function to event using code
6464

65-
Using the following methods to add and remove event handler for events that cannot be associated through UI:
65+
Using the following methods to add and remove event handler for events that can't be associated through UI:
6666

6767
|Events |Event handler|
6868
|-------|-------|
@@ -81,7 +81,7 @@ Using the following methods to add and remove event handler for events that cann
8181
8282
## Form event pipeline
8383

84-
You can define up to 50 event handlers for each event. Each event handler is executed in the order that it is displayed in the **Event Handlers** section in the **Events** tab of the **Form Properties** dialog box.
84+
You can define up to 50 event handlers for each event. Each event handler is executed in the order that it's displayed in the **Event Handlers** section in the **Events** tab of the **Form Properties** dialog box.
8585

8686
Use the [setSharedVariable](reference/executioncontext/setSharedVariable.md) and [getSharedVariable](reference/executioncontext/getSharedVariable.md) methods to pass a common variable between event handlers (functions). Use the execution context [getDepth](reference/executioncontext/getDepth.md) method to know the sequence that an event handler is being executed in relative to other event handlers.
8787

0 commit comments

Comments
 (0)