EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: yogesh on June 04, 2013, 06:15:29 AM



Title: dynamic layout hight
Post by: yogesh on June 04, 2013, 06:15:29 AM
Hi,

How to set layout height dynamically in below code

<div id="cc" class="easyui-layout" style="width:600px;height:400px;">  
    <div data-options="region:'north',title:'North Title',split:true" style="height:100px;"></div>  
    <div data-options="region:'south',title:'South Title',split:true" style="height:100px;"></div>  
    <div data-options="region:'east',iconCls:'icon-reload',title:'East',split:true" style="width:100px;"></div>  
    <div data-options="region:'west',title:'West',split:true" style="width:100px;"></div>  
    <div data-options="region:'center',title:'center title'" style="padding:5px;background:#eee;"></div>  
</div>


Title: Re: dynamic layout hight
Post by: stworthy on June 04, 2013, 09:26:43 AM
Please refer to http://www.jeasyui.com/demo/main/index.php?plugin=Layout&theme=default&dir=ltr&pitem=Auto%20Height