我使用content方式,加载一个list页签,数据展示出来了,但是下边和右边展示不完整,也就是分页栏没有出来,实际上那个div是有内容的,只是放到那个center的tab里面的时候,没有自动自适应,还是显示了整个list页面,导致下边和右边一部分显示不出来,该怎么办?
额,这个不是tab吧,是layout布局吧。
楼上加1 最好贴代码和截图出来说明
<div id="tt" class="easyui-tabs" data-options="region:'center'" fit="true">
<div title="首页" data-options="iconCls:'icon-house'">
<br /> <br /> 欢迎使用!
</div>
</div>
$('#tt').tabs('add', {
id : node.id,
title : node.text,
// href : node.url,
content : '<iframe width="100%" height="100%" scrolling="auto" frameborder="0" src="'+node.url+'" style="width:100%;height:100%;"></iframe>',
closable : true,
cache : true,
iconCls : node.iconCls
});
我在这个tt的首页后面打开一个新页面,新页面
<body class="easyui-layout">
<div id="MyUser" fit="true"></div>
</body>
使用这个MyUser div展示list,使用的系统自带的分页功能,单独打开这个界面是正常的,嵌入到tab里面就显示不完全了。。。
是不是和你tab页的width有关系?