JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/metro/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<script src="http://www.jeasyui.com/easyui/datagrid-scrollview.js"></script>
	<style type="text/css">
		.datagrid-header-rownumber,.datagrid-cell-rownumber{
			width:40px;
		}
	</style>
<script>
    function update1(){
    var dg = $('#tt');
    var row = dg.datagrid('getSelected');
    if (row){
        var index = dg.datagrid('getRowIndex',row);
        dg.datagrid('updateRow',{index:index,row:{name:'updatedname'}})
    }
    }
</script>
<a href="#" onclick="update1()">UpdateSelectedRow</a>
	<table id="tt" class="easyui-datagrid" style="width:700px;height:250px"
			title="DataGrid - VirtualScrollView"
			data-options="view:scrollview,rownumbers:true,singleSelect:true,autoRowHeight:false,pageSize:50">
		<thead>
			<tr>
				<th field="inv" width="80">Inv No</th>
				<th field="date" width="100">Date</th>
				<th field="name" width="80">Name</th>
				<th field="amount" width="80" align="right">Amount</th>
				<th field="price" width="80" align="right">Price</th>
				<th field="cost" width="100" align="right">Cost</th>
				<th field="note" width="110">Note</th>
			</tr>
		</thead>
	</table>

JavaScript

var rows = [];
			for(var i=1; i<=8000; i++){
				var amount = Math.floor(Math.random()*1000);
				var price = Math.floor(Math.random()*1000);
				rows.push({
					inv: 'Inv No '+i,
					date: $.fn.datebox.defaults.formatter(new Date()),
					name: 'Name '+i,
					amount: amount,
					price: price,
					cost: amount*price,
					note: 'Note '+i
				});
			}
			$('#tt').datagrid('loadData', rows);