JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Layout - jQuery EasyUI Demo</title>
	<link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/demo/demo.css">
	<script type="text/javascript" src="https://www.jeasyui.com/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="https://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
</head>
<body>
	<h2>Row Editing in DataGrid</h2>
	<p>Click the row to start editing.</p>
	<div style="margin:20px 0;"></div>
	<div id="dg"></div>



	<script type="text/javascript">

		$('#dg').datagrid({
			iconCls: 'icon-edit',
			singleSelect: true,
			onClickCell: onClickCell,
			onEndEdit: onEndEdit,
			columns: [[{ field: 'itemid', title: 'Item ID', width: 80 }
				, {
				field: 'productid',
				title: 'Product',
				width: 100,
				formatter: function (value, row) { return row.productname; },
				editor: {
					type: 'combogrid', options: {
						panelWidth: 450
						, valueField: 'productid',
						textField: 'productname',
						required: true,
						onShowPanel: function () {
							$(this).combogrid({
								columns: [[{ field: 'field1', title: 'field1', width: 80 }, { field: 'field2', title: 'field2', width: 80 }, { field: 'field3', title: 'field3', width: 80 }]]
								, pagination: true
							});
						}
					}
				}
			},
			{ field: 'listprice', title: 'listprice', width: 80, align: 'right', editor: { type: 'numberbox', options: { precision: 2 } } }
				, { field: 'unitcost', title: 'Unit Cost', width: 80, align: 'right', editor: { type: 'numberbox', options: { precision: 2 } } }
				, { field: 'attr1', title: 'attr1', width: 250, editor: 'textbox' }
				, { field: 'status', title: 'status', width: 60, align: 'center', editor: { type: 'checkbox', options: { on: 'P', off: '' } } }
			]]
			, data: [
				{ "productid": "FI-SW-01", "productname": "Koi", "unitcost":...