jeecg 查看 页面 父子表 横向滚动条效果 官方被禁用
生活随笔
收集整理的這篇文章主要介紹了
jeecg 查看 页面 父子表 横向滚动条效果 官方被禁用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?
關鍵代碼注釋替換
?
if (tabs) {//增加width屬性,fit屬性之前寫死,改為由頁面設定,不填默認truesb.append("<div id=\"" + id + "\" tabPosition=\"" + tabPosition + "\" border=flase style=\"margin:0px;padding:0px;overflow-x:hidden;width:"+oConvertUtils.getString(width, "auto")+";\" class=\"easyui-tabs\" fit=\""+fit+"\">");if (!iframe) {for (Tab tab : tabList) {if (tab.getHref() != null) {//sb.append("<div title=\"" + tab.getTitle() + "\" " + (tab.getIcon() != null ? ("iconCls=\"" + tab.getIcon() + "\" ") : "") + " href=\"" + tab.getHref() + "\" style=\"margin:0px;padding:0px;overflow-x:hidden;overflow-y:auto;width=auto;\"></div>");sb.append("<div title=\"" + tab.getTitle() + "\" " + (tab.getIcon() != null ? ("iconCls=\"" + tab.getIcon() + "\" ") : "") + " href=\"" + tab.getHref() + "\" style=\"margin:0px;padding:0px;overflow-y:auto;overflow-x:scroll;width=auto;\"></div>");} else {sb.append("<div " + (tab.getIcon() != null ? ("iconCls=\"" + tab.getIcon() + "\" ") : "") + " title=\"" + tab.getTitle() + "\" style=\"margin:0px;padding:0px;overflow-x:hidden;overflow-y:auto;width=auto;\">");sb.append("<iframe id=\""+tab.getId()+"\" scrolling=\"no\" frameborder=\"0\" src=\""+tab.getIframe()+"\" width=\""+oConvertUtils.getString(tab.getWidth(), "100%")+"\" height=\""+oConvertUtils.getString(tab.getHeigth(), "99.5%")+"\"></iframe>");sb.append("</div>");}}}sb.append("</div>");}效果?
總結
以上是生活随笔為你收集整理的jeecg 查看 页面 父子表 横向滚动条效果 官方被禁用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【Python】30个Pandas高频使
- 下一篇: 【数据挖掘】谷歌提出最新时序框架--De