Skip to content

Commit 592af09

Browse files
authored
Merge pull request MicrosoftDocs#2367 from melamriD365/patch-3
Update gridentity.md
2 parents 2a0bac4 + bd06bdf commit 592af09

File tree

1 file changed

+2
-2
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/grids

1 file changed

+2
-2
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/grids/gridentity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GridEntity is returned by the [GridRowData](gridrowdata.md).[getEntity](gridrowd
2424
```JavaScript
2525
var myRows = gridContext.getGrid().getRows();
2626
var myRow = myRows.get(arg);
27-
var gridEntity = myRow.getData().getEntity();
27+
var gridEntity = myRow.data.entity;
2828
```
2929

3030
GridEntity also supports the **columns** collection that provides methods of working with a collection of columns for a table in the editable grid. Each column ([GridAttribute](gridattribute.md)) represents the data in the cell of an editable grid, and contains a reference to all the cells associated with the column. See [Collections (Client API reference)](../collections.md) for information on the methods available to access data in a collection.
@@ -49,4 +49,4 @@ GridEntity also supports the **columns** collection that provides methods of wor
4949

5050

5151

52-
[!INCLUDE[footer-include](../../../../../includes/footer-banner.md)]
52+
[!INCLUDE[footer-include](../../../../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)