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>
<script src="http://www.jeasyui.com/easyui/jquery.edatagrid.js"></script>
<table id="dg" style="width:600px;height:200px"
title="Editable DataGrid"
singleSelect="true">
<thead>
<tr>
<th field="itemid" width="100" editor="text">Item ID</th>
<th field="pdate" width="100" editor="datebox">Date</th>
<th field="attr1" width="150" editor="text">Attribute</th>
</tr>
</thead>
</table>
JavaScript
var data = [
{itemid:'EST-1',pdate:'3/4/2013',attr1:'Green Adult'},
{itemid:'EST-2',pdate:'3/5/2013',attr1:'Tailless'},
{itemid:'EST-3',pdate:'3/6/2013',attr1:'Large'}
]
$('#dg').edatagrid({
data: data
});