Hi all
If I declare some treegrid inside layout, resizing works fine and table is placed inside the west layout :
<div id="members_tree_layout" class="easyui-layout" data-options="fit:true">
<div data-options="region:'west',split:true" title="Member type" style="width:250px;padding:1px;">
<table id="member_type" class="easyui-treegrid" fitcolumns="true" idField="id" treeField="name" url="json/member_type.json" fit="true">
<thead>
<tr>
<th data-options="field:'name'" width="200px">Name</th>
</tr>
</thead>
</table>
</div>
</div>
but if I declare DIV instead of table, like this:
<div id="members_tree_layout" class="easyui-layout" data-options="fit:true">
<div data-options="region:'west',split:true" title="Member type" style="width:250px;padding:1px;">
<div id="members_tree_html_west"></div>
</div>
</div>
then resizing does not work, ie: treegrid stays on their size - see image.
Why is that different and how to "tell" the grid that it should follow layout panel size?
Thanks