11---
22layout : post
3- title : Editing with Grid widget for Syncfusion Essential Angular-2
4- description : How to perform editing and configure edit time functionalities like edit type, edit time controls etc
3+ title : Editing in Angular Grid Control | Syncfusion
4+ description : Learn here all about Editing support in Syncfusion Essential Angular Grid control, its elements, and more.
55platform : Angular
66control : Grid
77documentation : ug
88api : /api/Angular/grid
99---
10- # Editing
10+ # Editing in Essential Angular Grid
1111
1212The grid control has support for dynamic insertion, updating and deletion of records. You can start the edit action either by double clicking the particular row or by selecting the required row and clicking on Edit icon in toolbar. Similarly, you can add new record to grid either by clicking on insert icon in toolbar or on an external button which is bound to call [`addRecord`](https://help.syncfusion.com/api/angular/ejgrid#methods:addrecord "addRecord") method of grid. `Save` and `Cancel` while on edit mode is possible using respective toolbar icon in grid.
1313
@@ -63,7 +63,7 @@ N> For [`toolbarItems`](https://help.syncfusion.com/api/angular/ejgrid#members:t
6363
6464The following output is displayed as a result of the above code example.
6565
66- 
66+ 
6767
6868
6969# # Cell edit type and its params
@@ -168,7 +168,7 @@ The following code example describes the above behavior.
168168
169169The following output is displayed as a result of the above code example.
170170
171- 
171+ 
172172
173173
174174# # Cell Edit Template
@@ -237,7 +237,7 @@ The following code example describes the above behavior.
237237
238238The following output is displayed as a result of the above code example.
239239
240- 
240+ 
241241
242242
243243# # Edit Modes
@@ -289,7 +289,7 @@ The following code example describes the above behavior.
289289
290290The following output is displayed as a result of the above code example.
291291
292- 
292+ 
293293
294294
295295# ## Inline Form
@@ -337,12 +337,12 @@ The following code example describes the above behavior.
337337
338338The following output is displayed as a result of the above code example.
339339
340- 
340+ 
341341
342342
343343The following output is displayed as a result of the above code example.
344344
345- 
345+ 
346346
347347
348348# ## Inline Template Form
@@ -441,13 +441,13 @@ Place the ng-template in the "index.html" page.
441441
442442The following output is displayed as a result of the above code example.
443443
444- 
444+ 
445445
446446{:caption}
447447Before the template elements are converted to JS controls
448448
449449
450- 
450+ 
451451{:caption}
452452After the template elements are converted to JS controls using actionComplete event
453453
@@ -497,7 +497,7 @@ The following code example describes the above behavior.
497497
498498The following output is displayed as a result of the above code example.
499499
500- 
500+ 
501501
502502
503503# ## Dialog Template Form
@@ -596,11 +596,11 @@ Place the ng-template in the "index.html" page.
596596
597597The following output is displayed as a result of the above code example.
598598
599- 
599+ 
600600{:caption}
601601Before the template elements are converted to JS controls
602602
603- 
603+ 
604604{:caption}
605605After the template elements are converted to JS controls using actionComplete event
606606
@@ -652,7 +652,7 @@ The following code example describes the above behavior.
652652
653653The following output is displayed as a result of the above code example.
654654
655- 
655+ 
656656
657657
658658Form Position :
@@ -707,7 +707,7 @@ The following code example describes the above behavior.
707707
708708The following output is displayed as a result of the above code example.
709709
710- 
710+ 
711711
712712
713713# ## External Template Form
@@ -805,11 +805,11 @@ Place the ng-template in the "index.html" page.
805805
806806The following output is displayed as a result of the above code example.
807807
808- 
808+ 
809809{:caption}
810810Before the template elements are converted to JS controls
811811
812- 
812+ 
813813{:caption}
814814After the template elements are converted to JS controls using actionComplete event
815815
@@ -862,7 +862,7 @@ The following code example describes the above behavior.
862862
863863The following output is displayed as a result of the above code example.
864864
865- 
865+ 
866866
867867
868868# # Confirmation messages
@@ -957,7 +957,7 @@ The following code example describes the above behavior.
957957
958958The following output is displayed as a result of the above code example.
959959
960- 
960+ 
961961
962962
963963# # Column Validation
@@ -1092,7 +1092,7 @@ The following code example describes the above behavior.
10921092
10931093The following output is displayed as a result of the above code example.
10941094
1095- 
1095+ 
10961096
10971097
10981098# # Persisting data in Server
@@ -1181,7 +1181,7 @@ The grid actions (sorting, filtering, paging, searching, and aggregates) details
11811181
11821182Please refer the below screen shot.
11831183
1184- 
1184+ 
11851185
11861186
11871187Also, using 'DataOperations' helper class you can perform grid action at server side. The in-built methods that we have provided in the DataOperations class are listed below.
@@ -1370,7 +1370,7 @@ public ActionResult Insert(EditableOrder value)
13701370The newly added record details are bound to the 'value' parameter. Please refer the below image.
13711371
13721372
1373- 
1373+ 
13741374
13751375
13761376# ## Update Record:
@@ -1390,7 +1390,7 @@ public ActionResult Update(EditableOrder value)
13901390
13911391The updated record details are bound to the 'value' parameter. Please refer the below image.
13921392
1393- 
1393+ 
13941394
13951395
13961396# ## Delete Record:
@@ -1410,7 +1410,7 @@ public ActionResult Remove(int key)
14101410
14111411The deleted record primary key value is bound to the 'key' parameter. Please refer the below image.
14121412
1413- 
1413+ 
14141414
14151415
14161416# ## CRUD URL:
@@ -1475,7 +1475,7 @@ public ActionResult CrudUpdate(EditableOrder value, string action, int key)
14751475
14761476Please refer the below image to know about the action parameter
14771477
1478- 
1478+ 
14791479
14801480
14811481N> If you specify `insertUrl` along with `CrudUrl` then while adding `insertUrl` only called.
@@ -1545,7 +1545,7 @@ public ActionResult BatchUpdate(string action, List<EditableOrder> added, List<E
15451545
15461546Please refer the below image for more information about batch parameters
15471547
1548- 
1548+ 
15491549
15501550
15511551# # Adding New Row Position
@@ -1594,7 +1594,7 @@ The following code example describes the above behavior.
15941594
15951595The following output is displayed as a result of the above code example.
15961596
1597- 
1597+ 
15981598
15991599
16001600# # Render with blank row for easy add new
@@ -1645,7 +1645,7 @@ The following code example describes the above behavior.
16451645
16461646The following output is displayed as a result of the above code example.
16471647
1648- 
1648+ 
16491649
16501650
16511651N> 1. If it is remote, then the newly added record is placed based on the index from current view data.
@@ -1698,4 +1698,4 @@ The following code example describes the above behavior.
16981698
16991699The following output is displayed as a result of the above code example.
17001700
1701- 
1701+ 
0 commit comments