Skip to content

Commit 04d78f9

Browse files
authored
Update grid-onrecordselect.md
1 parent f93c494 commit 04d78f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/events/grid-onrecordselect.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ contributors:
1515
---
1616
# Grid OnRecordSelect event (Client API reference)
1717

18-
The `OnRecordSelect` event occurs when a single row (record) is selected in the editable grid. This event doesn't occur if a user selects different cells in the same row, or selects multiple rows.
18+
The `OnRecordSelect` event occurs when a single row (record) is selected in an editable grid. This event doesn't occur if a user selects different cells in the same row, or selects multiple rows.
1919

2020
## Example: Override the default open behavior in model-driven grids
2121

2222
When you want to customize the way that a table record opens from the [Power Apps grid control](../../../../../maker/model-driven-apps/the-power-apps-grid-control.md), you can control how this opens with a JavaScript function associated with the grid `OnRecordSelect` event.
2323

24-
The following example ensures that the record opens using the form specified `pageInput` `formId` value using the [Xrm.Navigation.navigateTo](../Xrm-Navigation/navigateTo.md) method.
24+
The following example ensures that the record opens using the form specified `pageInput` `formId` value using the [Xrm.Navigation.navigateTo](../Xrm-Navigation/navigateTo.md) method. Note that in this example the form and grid must belong to the same entity.
2525

2626
### Step 1: Create a web resource
2727

@@ -46,14 +46,14 @@ More information: [Create or edit model-driven app web resources](../../../../..
4646

4747
### Step 2: Enable Power Apps Grid Control
4848

49-
Follow these steps to enable the **Power Apps Grid Control** as the main grid (table view) or within a model-driven form subgrid:
49+
Follow these steps to enable the **Power Apps grid control** as the main grid (table view) or within a model-driven form subgrid:
5050

5151
- [Use as main grid](../../../../../maker/model-driven-apps/the-power-apps-grid-control.md#add-the-power-apps-grid-control-to-views-for-an-entity)
5252
- [Use as subgrid](../../../../../maker/model-driven-apps/the-power-apps-grid-control.md#add-the-power-apps-grid-control-to-a-subgrid)
5353

5454
### Step 3: Register the custom behavior on OnRecordSelect Event
5555

56-
When you enable the **Power Apps Grid Control**, an **Events** tab appears. Select the **Events** tab:
56+
When you enable the **Power Apps grid control**, an **Events** tab appears. Select the **Events** tab:
5757

5858
1. Under the **Form Libraries** section, add the Form Library from the web resource created.
5959
1. Under the **Event Handlers** section, select the event **OnRecordSelect** and select **Add** and a popup appears.

0 commit comments

Comments
 (0)