JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://jeasyui.com/easyui/jquery.easyui.min.js"></script>
<script src="http://jeasyui.com/easyui/jquery.min.js"></script>
<link rel="stylesheet" href="http://jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" href="http://jeasyui.com/easyui/themes/icon.css">
<div class="easyui-layout" id="layout_workers" fit="true">
        <div region="north" style="height:65px;padding:5px;" title="Filter">
            <a class="easyui-linkbutton" iconCls="icon-search" onclick="showWorkersFilter();">Show Workers</a>            
        </div>
        <div data-options="region:'west'" title="Filter&nbsp;workers"  collapsed="true" style="width:30%"> 
                <table id="dg_workers_filter" class="easyui-datagrid"  nowrap="false" striped="true" fit="true" fitColumns="true"  border="false"
                       data-options="idField:'id'"  singleSelect="true" selectOnCheck="true"
                       loadMsg="Cargando por favor espere..." >
                    <thead >  
                        <tr>  
                            <th field="ck" checkbox="true"></th>
                            <th  field="id" align="center">ID</th>  
                            <th  field="name" width="35" align="left">Name</th>                           
                        </tr>
                    </thead>                                  
                </table>
        </div>
        <div data-options="region:'center'" title="Center">
                DATA
        </div>
    </div>

CSS

</style> 
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css"> 
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo/demo.css">
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.min.js"></script> 
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script> 
<style>

JavaScript

function collapseRegionWorkers(){
    var title = $('#layout_workers').layout('panel','west').panel('options').title;  // get the west panel title
    var p = $('#layout_workers').data('layout').panels['expandWest'];  // the west expand panel
    p.html('<div style="-moz-transform: rotate(90deg);padding:6px 2px;-ms-transform: rotate(90deg);-webkit-transform: rotate(90deg);font-size: 14px;font-weight: bold;color: #0E2D5F;height: 16px;line-height: 16px;">'+title+'&nbsp;(Click&nbsp;here)</div>');     
}  


function showWorkersFilter(){
    $('#layout_workers').layout('expand','west');                
    var p = $('#layout_workers').layout('panel', 'west');
    p.panel('panel').unbind('.layout').bind('mouseleave.layout', function(){
    	$('#layout_workers').layout('collapse','west');
    	return false;
    })
}
            
$(function() {
    
    collapseRegionWorkers();
    
    $('#layout_workers').layout('panel', 'expandWest').bind('click', function(){
    	$('#layout_workers').layout('expand','west');
    	return false;
    })
    
    $('#layout_workers .layout-button-right').css('visibility','hidden');
    
    $('#dg_workers_filter').datagrid({
                        onSelect:function(rowIndex,rowData){
                               $('#layout_workers').layout('collapse','west');
                        },
                        data: [
		{id:'1', name:'value12'},
		{id:'2', name:'value22'}
                                 ]
                    });
});