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" class="easyui-datagrid" pagination="true" style="width:800px;height:200px">
<thead>
<tr>
<th field="f1" width="100">f1</th>
<th field="f2" width="100">f2</th>
</tr>
</thead>
</table>
JavaScript
var pager = $('#dg').datagrid('getPager');
var input = $('<input>').appendTo('body');
pager.pagination({buttons:input});
input.searchbox();