Example of Batch Editing in Javascript Tree Grid Control

/
/
Batch Editing

This sample demonstrates CRUD operations in Tree Grid. You can perform CRUD operations as follows,

  • Add - To add new record, click Add toolbar button.
  • Edit - To edit record, double click a cell.
  • Delete - To delete record, click toolbar Delete button after selected a row.
  • Update, Cancel - You can save or discard changes by click toolbar Update and Cancel button respectively.
More Details...

1
Planning
2/3/20175100Normal
2
Plan timeline
2/3/20175100Normal
3
Plan budget
2/3/20175100Low
4
Allocate resources
2/3/20175100Critical
5
Planning complete
2/7/201700Low
6
Design
2/10/2017386High
7
Software Specification
2/10/2017360Normal
8
Develop prototype
2/10/20173100Critical
9
Get approval from customer
2/13/20172100Low
10
Design Documentation
2/13/20172100High
11
Design complete
2/14/201700Normal
12
Implementation Phase
2/17/20171166Normal
13
Phase 1
2/17/20171150High
14
Implementation Module 1
2/17/20171110Normal
15
Development Task 1
2/17/2017350High
16
Development Task 2
2/17/2017350Low
17
Testing
2/20/201720Normal
18
Bug fix
2/24/201720Critical
19
Customer review meeting
2/26/201720High
20
Phase 1 complete
2/27/2017050Low
21
Phase 2
2/17/20171260High
22
Implementation Module 2
2/17/20171290Critical
23
Development Task 1
2/17/2017450Normal
24
Development Task 2
2/17/2017450Critical
25
Testing
2/21/201720High
26
Bug fix
2/25/201720Low
27
Customer review meeting
2/27/201720Critical
28
Phase 2 complete
2/28/2017050Normal
29
Phase 3
2/17/20171130Normal
30
Implementation Module 3
2/17/20171160High
31
Development Task 1
2/17/2017350Low
32
Development Task 2
2/17/2017350Normal
33
Testing
2/20/201720Critical
34
Bug fix
2/24/201720High
35
Customer review meeting
2/26/201720Normal
36
Phase 3 complete
2/27/2017050Critical
Description

The Tree Grid supports CRUD operations. This CRUD operations can be configured in Tree Grid using editSettings. Also, it has different modes to manipulate the datasource. The available modes are, Row Cell Dialog Batch In this demo, Batch mode is enabled for editing by defining editSettings.mode as Batch with editSettings.newRowPosition as Below. You can start editing by double clicking a cell and can change the cell value. The edited cell will be highlighted while navigating to a new cell, so that you know which cells had been edited. You can bulk save the edited data to the datasource by click on the toolbar's update button. Injecting Module: Tree Grid features are segregated into individual feature-wise modules. To use editing feature, we need to inject Edit module using the TreeGrid.Inject(Edit) method. More information about Batch Editing can be found in this documentation section.