<body class="easyui-layout">
<div data-options="region:'north', border:false, height: '20%'">
<table id="basicInfo" />
</div>
<div data-options="region:'south', border:false, height: '80%'">
<table id="treatInfo" />
</div>
</body>
这样肯定出问题...id=treatInfo 的Grid会被渲染到north里面,不会出现在center里面.
原因是<table />给成单标签...这样写就搞定了 <table id="treatInfo" ></table >
本文介绍了一个关于EasyUI布局的问题及其解决方案。问题在于表格未能正确显示在指定区域,原因在于表格标签使用不当。通过调整表格标签的写法,使得表格能够正常显示。
133

被折叠的 条评论
为什么被折叠?



