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="dg"></table>
JavaScript
$('#dg').datagrid({
height:200,
columns:[[
{field:'f1',title:'Title1',width:100}
]],
toolbar : [{
text : 'Name',
toggle : true,
group : 'myGroup',
handler : function() {
// ...
}
}, {
text : 'Class',
toggle : true,
group : 'myGroup',
handler : function() {
// ...
}
}]
})