JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<button id="b1">Edit</button>
<table id="tg"></table>

JavaScript

var data = {"total":7,"rows":[
	{"id":1,"name":"All Tasks","begin":"3/4/2010","end":"3/20/2010","progress":60,"iconCls":"icon-ok"},
	{"id":2,"name":"Designing","begin":"3/4/2010","end":"3/10/2010","progress":100,"_parentId":1,"state":"closed"},
	{"id":21,"name":"Database","persons":2,"begin":"3/4/2010","end":"3/6/2010","progress":100,"_parentId":2},
	{"id":22,"name":"UML","persons":1,"begin":"3/7/2010","end":"3/8/2010","progress":100,"_parentId":2},
	{"id":23,"name":"Export Document","persons":1,"begin":"3/9/2010","end":"3/10/2010","progress":100,"_parentId":2},
	{"id":3,"name":"Coding","persons":2,"begin":"3/11/2010","end":"3/18/2010","progress":80},
	{"id":4,"name":"Testing","persons":1,"begin":"3/19/2010","end":"3/20/2010","progress":20}
]}

$('#tg').treegrid({
    height:200,
    data: data,
    columns:[[
        {field:'name',title:'Name',width:180,editor:{
            type:'combogrid',
            options:{
                data: data,
                columns:[[
                    {field:'id',title:'id',width:100},
                    {field:'name',title:'name',width:100}
                ]],
                valueField:'name',
                textField:'name'
            }
        }},
        {field:'persons',title:'Persons',width:60,editor:'numberbox'},
        {field:'begin',title:'Begin',width:80,editor:'datebox'},
        {field:'end',title:'End',width:80,editor:'datebox'}
    ]],
    idField:'id',
    treeField:'name',
    onBeginEdit:function(row){
        if (row.name == 'Coding'){
            var ed = $(this).treegrid('getEditor',{id:row.id,field:'name'});
            $(ed.target).combogrid('clear');
        }
    }
});

$('#b1').click(function(){
    var s = $('#tg').treegrid('getSelected');
    if (s){
        $('#tg').treegrid('beginEdit',s.id);
    }
});