Skip to content

Update overview.md #2916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/grid/editing/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ Adding or editing rows in the Grid sets the following requirements on the Grid m

* The Grid model class must have a parameterless constructor. Otherwise, use the [Grid `OnModelInit` event](slug:grid-events#onmodelinit) to provide a data item instance [when the Grid needs to create one](#item-instances). Optinally, you can also [set some default values](slug://grid-kb-default-value-for-new-row).
* All editable properties must be `public` and have setters. These properties must not be `readonly`.
* All complex properties, that are used in the grid, must be instantiated in [Grid `OnModelInit` event](slug:grid-events#onmodelinit).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* All complex properties, that are used in the grid, must be instantiated in [Grid `OnModelInit` event](slug:grid-events#onmodelinit).
* All complex properties used in the Grid must be instantiated in the [Grid `OnModelInit` event](slug://grid-events#onmodelinit).

* Self-referencing or inherited properties must not cause `StackOverflowException` or `AmbiguousMatchException` during [programmatic model instance creation](#item-instances).

## Edit Modes

The Grid offers several ways to add and edit rows with a different user experience:
Expand Down