Skip to content

Commit 7e9c887

Browse files
chore(grid): typo
1 parent 2f90412 commit 7e9c887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/grid/templates/editor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ If you need to perform logic more complex than simple data binding, use the chan
179179
{
180180
ID = i,
181181
Name = "name " + i,
182-
RoleId = i % 5 // every one in four is an unknown one that will not be present in the roles list
182+
RoleId = i % 4 // every one in four is an unknown one that will not be present in the roles list
183183
// and will have an ID of 0 to match the DefaultText of the dropdownlist
184184
// you can perform more complicated checks as necessary in your app and/or in the templates
185185
// and/or in the view-model data to present it with suitable values and avoid exceptions

0 commit comments

Comments
 (0)