Skip to content

Commit

Permalink
Fix typo (#2364)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntacheva authored Sep 3, 2024
1 parent e1cc339 commit 891c474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/grid/templates/editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ position: 15

The column's `EditorTemplate` defines the inline template or component that will be rendered when the user is [editing]({%slug components/grid/editing/overview%}) the field. It is also used when inserting a new item.

You can data bind components in the editor template to the current `context`. This is the data item instance, which is bound to the currently edited Grid ow. Cast `context` to the data item type and store it in a global or local variable. Then, use this variable for one-way or two-way binding in the `EditorTemplate`.
You can data bind components in the editor template to the current `context`. This is the data item instance, which is bound to the currently edited Grid row. Cast `context` to the data item type and store it in a global or local variable. Then, use this variable for one-way or two-way binding in the `EditorTemplate`.

The template receives a **copy** of the original model, so that changes can be canceled with the `Cancel` command. See the [**Notes** section in the Grid Editing Overview]({%slug components/grid/editing/overview%}#notes) for more details on how and when that copy is created.

Expand Down

0 comments on commit 891c474

Please sign in to comment.