Skip to content

Commit 5f8fbb6

Browse files
author
pipeline
committed
feature(EJ2-3757): Editing samples added.
1 parent 2876860 commit 5f8fbb6

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

src/common/sampleList.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/grid/dialog-editing-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/grid/dialog-editing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ this.default = (): void => {
2424
},
2525
{
2626
field: 'Freight', headerText: 'Freight', textAlign: 'right', editType: 'numericedit',
27-
width: 120, format: 'C2'
27+
width: 120, format: 'C2', validationRules: { required: true }
2828
},
2929
{ field: 'ShipCity', headerText: 'Ship City', width: 170 },
3030
{

src/grid/normal-editing-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/grid/normal-editing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ this.default = (): void => {
2525
},
2626
{
2727
field: 'Freight', headerText: 'Freight', textAlign: 'right', editType: 'numericedit',
28-
width: 120, format: 'C2'
28+
width: 120, format: 'C2', validationRules: { required: true }
2929
},
3030
{ field: 'ShipName', headerText: 'Ship Name', width: 170 },
3131
{

src/grid/sample.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
{"url":"aggregatedefault", "name": "Default Aggregate", "category": "Aggregates" },
3535
{"url":"aggregategroup", "name": "Group and Caption Aggregate", "category": "Aggregates" },
3636
{"url":"normal-editing", "name": "Inline On LocalData", "category":"Editing", "type": "new"},
37-
{"url":"dialog-editing", "name": "Dialog On LocalData", "category":"Editing", "type": "new"},
38-
{"url":"batch-editing", "name": "Batch Editing", "category":"Editing", "type": "new" },
39-
{"url":"columnchooser", "name": "Column Chooser", "category":"Columns", "type": "new" }
37+
{"url":"dialog-editing", "name": "Dialog On LocalData", "category":"Editing", "type": "new"}
4038
]
4139
}

0 commit comments

Comments
 (0)