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" name="dg" title="DataGrid" style="width:600px;height:314px">
<thead>
<tr>
<th field="wname" width="50">Windows Name</th>
<th field="enabled" width="50">Enabled</th>
<th field="group_id" width="50">Group</th>
<th field="alarm_timer" width="50">AT</th>
<th field="alarm_score" width="50">AS</th>
</tr>
</thead>
</table>
JavaScript
var dg = $('#dg');
dg.datagrid({
pagination:true,
data:{
total:100,
rows:[
{wname:'name1'},
{wname:'name2'}
]
}
});
var pager = dg.datagrid('getPager');
pager.pagination({showPageList:false});