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>
<input id="cg" style="width:100%">

JavaScript

$('#cg').combogrid({
    columns:[[
        {field:'f1',title:'title1',width:100},
        {field:'f2',title:'title2',width:100},
        {field:'f3',title:'title3',width:100}
    ]],
    panelWidth:'auto',
    onShowPanel:function(){
        var t = $(this).combogrid('textbox');
        $(this).combogrid('panel').panel('resize',{
            width: t.outerWidth(true)
        });
    }
});