Skip to content

Commit fc7a81a

Browse files
CMSMartinKdimodiikoevska
committed
Update overview.md (#2916)
* Update overview.md added info about complex properties under "Model Requirements" * further specification * Update components/grid/editing/overview.md Co-authored-by: Iva Stefanova Koevska-Atanasova <[email protected]> * Update components/grid/editing/overview.md * Update components/grid/editing/overview.md --------- Co-authored-by: Dimo Dimov <[email protected]> Co-authored-by: Iva Stefanova Koevska-Atanasova <[email protected]>
1 parent 1306e99 commit fc7a81a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/grid/editing/overview.md

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Adding or editing rows in the Grid sets the following requirements on the Grid m
3636

3737
* 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).
3838
* All editable properties must be `public` and have setters. These properties must not be `readonly`.
39+
* All complex properties used in the Grid must be instantiated in the [Grid `OnModelInit` event](slug:grid-events#onmodelinit).
3940
* Self-referencing or inherited properties must not cause `StackOverflowException` or `AmbiguousMatchException` during [programmatic model instance creation](#item-instances).
4041

4142
## Edit Modes

0 commit comments

Comments
 (0)