Example of Dialog Editing in React Tree Grid Component

/
/
Dialog

This sample demonstrates Dialog Editing

More Details...

1
Planning
2/3/20172/7/20175100
2
Plan timeline
2/3/20172/7/20175100
3
Plan budget
2/3/20172/7/20175100
4
Allocate resources
2/3/20172/7/20175100
5
Planning complete
2/7/20172/7/201700
6
Design
2/10/20172/14/2017386
7
Software Specification
2/10/20172/12/2017360
8
Develop prototype
2/10/20172/12/20173100
9
Get approval from customer
2/13/20172/14/20172100
10
Design Documentation
2/13/20172/14/20172100
11
Design complete
2/14/20172/14/201700
12
Implementation Phase
2/17/20172/27/20171166
1 of 3 pages (36 items)
Description

In this demo, Dialog mode is enabled for editing by defining editSettings.mode as dialog. You can start editing by double clicking a row or clicking on toolbar's Edit button, then the currently selected row will be shown on a dialog and you can change the row values and save edited data to the datasource.

Injecting Module:

Tree Grid features are segregated into individual feature-wise modules. To use editing feature, we need to inject Editmodule into the services.

More information on the selection configuration can be found in this documentation section.