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>
    <table id="tt" title="TreeGrid" style="width:700px;height:300px">
        <thead>
            <tr>
                <th field="code" rowspan="2" width="150" editor="text">Code</th>
                <th colspan="2">Group Fields</th>
            </tr>
            <tr>
                <th field="name" width="200" editor="text">Name</th>
                <th field="addr" width="200" editor="text">Addr</th>
            </tr>
        </thead>
    </table>

CSS

.row-top td{
            border-top:1px solid red;
            background:#fff;
        }
        .row-bottom td{
            border-bottom:1px solid red;
            background:#fff;
        }
        .row-append td{
            border:0;
            background:#FBEC88;
        }

JavaScript

var data = {"total":12,"rows":[
    {"id":1,"code":"code1","name":"name1","addr":"address1"},
    {"id":11,"code":"code11","name":"name11","addr":"address11","_parentId":1},
    {"id":12,"code":"code12","name":"name12","addr":"address12","_parentId":1},
    {"id":2,"code":"code2","name":"name2","addr":"address2","state":"closed"},
    {"id":21,"code":"code21","name":"name21","addr":"address21","_parentId":2},
    {"id":22,"code":"code22","name":"name22","addr":"address22","_parentId":2},
    {"id":3,"code":"code3","name":"name3","addr":"address3","state":"closed"},
    {"id":31,"code":"code31","name":"name31","addr":"address31","_parentId":3},
    {"id":32,"code":"code32","name":"name32","addr":"address32","_parentId":3},
    {"id":4,"code":"code4","name":"name4","addr":"address4","state":"closed"},
    {"id":41,"code":"code41","name":"name41","addr":"address41","_parentId":4},
    {"id":42,"code":"code42","name":"name42","addr":"address42","_parentId":4}
]};
$('#tt').treegrid({
    idField:'id',
    treeField:'code',
    fitColumns:true,
    onLoadSuccess:function(){
        enableDnd($(this));
    }
});
$('#tt').treegrid('loadData',data);

function enableDnd(t){
    var nodes = t.treegrid('getPanel').find('tr[node-id]');
    nodes.find('span.tree-hit').bind('mousedown.treegrid',function(){
        return false;
    });
    nodes.draggable({
        disabled:false,
        revert:true,
        cursor:'pointer',
        proxy: function(source){
            var p = $('<div class="tree-node-proxy tree-dnd-no"></div>').appendTo('body');
            p.html($(source).find('.tree-title').html());
            p.hide();
            return p;
        },
        deltaX: 15,
        deltaY: 15,
        onBeforeDrag:function(){
            $(this).next('tr.treegrid-tr-tree').find('tr[node-id]').droppable({accept:'no-accept'});
        },
        onStartDrag:function(){
            $(this).draggable('proxy').css({
                left:-10000,
                top:-10000
      ...