起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1500|回复: 3

[结贴] gird太长,页面显示不完整,设置100%为什么不显示滚动条

[复制链接]

63

主题

552

帖子

763

积分

高级会员

Rank: 4

积分
763
QQ
发表于 2013-12-13 16:04:11 | 显示全部楼层 |阅读模式
页面如下,方便远程更好,联系我Q399811910
  1. <?xml version="1.0" encoding="utf-8"?>

  2. <xui:window xmlns:xui="http://www.justep.com/xui" xmlns="http://www.justep.com/xui"
  3.   xmlns:xforms="http://www.justep.com/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml"
  4.   xmlns:ev="http://www.w3.org/2001/xml-events" component="/UI/system/components/window.xbl.xml#window">  
  5.   <xforms:model id="mdMain" style="top:267px;left:43px;">
  6.     <data component="/UI/system/components/data.xbl.xml#bizData" offset="1"
  7.       limit="20" update-mode="whereVersion" auto-load="false" id="dHR_CR_CheckCollect1"
  8.       concept="HR_CR_CheckCollect1" filter-relations="fDEPTNAME,fPEOPLENAME,fDAY1,fDAY2,fDAY3,fDAY4,fDAY5,fDAY6,fDAY7,fDAY8,fDAY9,fDAY10,fDAY11,fDAY12,fDAY13,fDAY14,fDAY15,fDAY16,fDAY17,fDAY18,fDAY19,fDAY20,fDAY21,fDAY22,fDAY23,fDAY24,fDAY25,fDAY26,fDAY27,fDAY28,fDAY29,fDAY30,fDAY31,fShouldCheck,fAbsencePrivate,fAbsenceSick,fAbsenceNeglect,fLateOrEarly,fOverTimeWorkDay,fOverTimeTurn,fOverTimeHoliday,fDayOffTurn,fDayOffYear,fDayOffPhysiology,fDayOffWedding,fDayOffFuneral,fDayOffMaternity,fTurnDay">
  9.       <reader id="default4" action="/HR/checkReport/logic/action/queryHR_CR_CheckCollect1Action"/>  
  10.       <rule id="dataBizRule1" concept="HR_CR_CheckCollect1" readonly="true()"/>  
  11.       <calculate-relation relation="recNo" id="calculate-relation1"/>
  12.     </data>  
  13.     <data component="/UI/system/components/data.xbl.xml#data" columns="year,month,orgId,orgName"
  14.       src="" auto-load="false" id="cdTemp" auto-new="true" store-type="simple" onValueChanged="cdTempValueChanged">
  15.       <rule id="dataRule3" column="year" type="xsd:integer" constraint="call('checkYear')"
  16.         alert="'请输入正确的年份!'"/>  
  17.       <rule id="dataRule4" column="month" type="xsd:integer" constraint="call('checkMonth')"
  18.         alert="'请输入正确的月份!'"/>
  19.     </data>  
  20.     <xforms:action id="action2" ev:event="xbl-loaded">
  21.       <xforms:script id="xformsScript2">mdMainXblLoaded(event)</xforms:script>
  22.     </xforms:action>
  23.   </xforms:model>  
  24.   <xui:view id="rootView">
  25.     <xui:view auto-load="true" id="vTool">
  26.       <xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="tbrMain">
  27.         <xui:bar component="/UI/system/components/bar.xbl.xml#navigatorBar" id="nvgMain"
  28.           data="dHR_CR_CheckCollect1">
  29.           <item id="barItem1">
  30.             <xforms:trigger id="trigger2" appearance="image" src="/UI/HR/common/images/refresh.gif"
  31.               dis-src="/UI/HR/common/images/un_refresh.gif">
  32.               <xforms:label id="xuiLabel3">刷新</xforms:label>  
  33.               <xforms:action ev:event="DOMActivate" id="action4">
  34.                 <xforms:script id="xformsScript3">trigger2DOMActivate(event)</xforms:script>
  35.               </xforms:action>
  36.             </xforms:trigger>
  37.           </item>  
  38.           <item name="next-page-item" id="barItem12"/>  
  39.           <item name="all-page-item" id="barItem13"/>
  40.         </xui:bar>
  41.       </xhtml:div>  
  42.       <xforms:input id="input1" ref="data('cdTemp')/year"/>  
  43.       <xforms:input id="input2" ref="data('cdTemp')/month"/>  
  44.       <xforms:trigger id="trgSearch">
  45.         <xforms:label id="xuiLabel2">查 询</xforms:label>  
  46.         <xforms:action ev:event="DOMActivate" id="action1">
  47.           <xforms:script id="xformsScript1">trgSearchDOMActivate(event)</xforms:script>
  48.         </xforms:action>
  49.       </xforms:trigger>  
  50.       <layout style="height:100%;width:100%;" id="layout1" type="flow">
  51.         <xhtml:table style="width:100%;height:100%;table-layout:fixed;">
  52.           <xhtml:tr>
  53.             <xhtml:td style="width:102px;">
  54.               <xui:place control="tbrMain" id="controlPlace4"/>
  55.             </xhtml:td>  
  56.             <xhtml:td style="width:45px;">
  57.               <xui:place control="input1" id="controlPlace5" style="width:100%;"/>
  58.             </xhtml:td>  
  59.             <xhtml:td style="width:25px;">年</xhtml:td>  
  60.             <xhtml:td style="width:25px;">
  61.               <xui:place control="input2" id="controlPlace6" style="width:100%;"/>
  62.             </xhtml:td>  
  63.             <xhtml:td style="width:25px;">月</xhtml:td>  
  64.             <xhtml:td style="width:150px;">
  65.               <xui:place control="trgSearch" id="controlPlace8"/>
  66.             </xhtml:td>  
  67.             <xhtml:td/>
  68.           </xhtml:tr>
  69.         </xhtml:table>
  70.       </layout>
  71.     </xui:view>  
  72.     <xui:view auto-load="true" id="vTitle">
  73.       <layout style="height:100%;position:relative;width:100%;" id="layout3" type="absolute">
  74.         <xhtml:span id="span4" style="position:absolute;width:219px;top:7px;left:373px;">月考勤记录表</xhtml:span>
  75.       </layout>
  76.     </xui:view>  
  77.     <xui:view auto-load="true" id="vList">
  78.       <xhtml:div component="/UI/system/components/grid.xbl.xml#grid" show-header-menu="hide-column,save-layout,group-column,adjust-column"
  79.         id="grdHR_CR_CheckCollect1" data="dHR_CR_CheckCollect1">
  80.         <xui:column label="序号" ref="recNo" show-index="true" type="ro" id="gridColumn7"
  81.           width="30"/>  
  82.         <xui:column id="gridColumn7" ref="fDEPTNAME" label="部门名称" type="ed" width="105">
  83.           <xui:place control="gsOrg" id="controlPlace9" style="width:140px;"/>  
  84.           <xui:place control="treeSelect1" id="controlPlace11" style="width:140px;"/>
  85.         </xui:column>  
  86.         <xui:column id="gridColumn8" ref="fPEOPLENAME" label="姓名" type="ed" width="70"/>  
  87.         <xui:column id="gridColumn9" ref="fDAY1" label="1|周一" type="ed" width="35"/>  
  88.         <xui:column id="gridColumn10" ref="fDAY2" label="2|周二" type="ed" width="35"/>  
  89.         <xui:column id="gridColumn11" ref="fDAY3" label="3|周三" type="ed" width="35"/>  
  90.         <xui:column id="gridColumn12" ref="fDAY4" label="4|周四" type="ed" width="35"/>  
  91.         <xui:column id="gridColumn13" ref="fDAY5" label="5|周五" type="ed" width="35"/>  
  92.         <xui:column id="gridColumn14" ref="fDAY6" label="6|周六" type="ed" width="35"/>  
  93.         <xui:column id="gridColumn15" ref="fDAY7" label="7|周日" type="ed" width="35"/>  
  94.         <xui:column id="gridColumn16" ref="fDAY8" label="8|周一" type="ed" width="35"/>  
  95.         <xui:column id="gridColumn17" ref="fDAY9" label="9|周二" type="ed" width="35"/>  
  96.         <xui:column id="gridColumn18" ref="fDAY10" label="10|周三" type="ed" width="35"/>  
  97.         <xui:column id="gridColumn19" ref="fDAY11" label="11|周四" type="ed" width="35"/>  
  98.         <xui:column id="gridColumn20" ref="fDAY12" label="12|周五" type="ed" width="35"/>  
  99.         <xui:column id="gridColumn21" ref="fDAY13" label="13|周六" type="ed" width="35"/>  
  100.         <xui:column id="gridColumn22" ref="fDAY14" label="14|周日" type="ed" width="35"/>  
  101.         <xui:column id="gridColumn23" ref="fDAY15" label="15|周一" type="ed" width="35"/>  
  102.         <xui:column id="gridColumn24" ref="fDAY16" label="16|周二" type="ed" width="35"/>  
  103.         <xui:column id="gridColumn25" ref="fDAY17" label="17|周三" type="ed" width="35"/>  
  104.         <xui:column id="gridColumn26" ref="fDAY18" label="18|周四" type="ed" width="35"/>  
  105.         <xui:column id="gridColumn27" ref="fDAY19" label="19|周五" type="ed" width="35"/>  
  106.         <xui:column id="gridColumn28" ref="fDAY20" label="20|周六" type="ed" width="35"/>  
  107.         <xui:column id="gridColumn29" ref="fDAY21" label="21|周日" type="ed" width="35"/>  
  108.         <xui:column id="gridColumn30" ref="fDAY22" label="22|周一" type="ed" width="35"/>  
  109.         <xui:column id="gridColumn31" ref="fDAY23" label="23|周二" type="ed" width="35"/>  
  110.         <xui:column id="gridColumn32" ref="fDAY24" label="24|周三" type="ed" width="35"/>  
  111.         <xui:column id="gridColumn33" ref="fDAY25" label="25|周四" type="ed" width="35"/>  
  112.         <xui:column id="gridColumn34" ref="fDAY26" label="26|周五" type="ed" width="35"/>  
  113.         <xui:column id="gridColumn35" ref="fDAY27" label="27|周六" type="ed" width="35"/>  
  114.         <xui:column id="gridColumn36" ref="fDAY28" label="28|周日" type="ed" width="35"/>  
  115.         <xui:column id="gridColumn37" ref="fDAY29" label="29|周一" type="ed" width="35"/>  
  116.         <xui:column id="gridColumn38" ref="fDAY30" label="30|周二" type="ed" width="35"/>  
  117.         <xui:column id="gridColumn39" ref="fDAY31" label="31|周三" type="ed" width="35"/>  
  118.          
  119.       </xhtml:div>  
  120.       <layout style="height:100%;width:100%;" id="layout2">
  121.         <xui:place control="grdHR_CR_CheckCollect1" id="controlPlace9" style="width:100%;height:100%;"/>
  122.       </layout>
  123.     </xui:view>  
  124.     <xui:layout style="height:100%;width:100%" id="rootLayout">
  125.       <xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
  126.         id="borderLayout2" style="width:100%;height:100%;">
  127.         <top size="35px" id="borderLayout-top2">
  128.           <xui:place control="vTool" id="controlPlace1" style="height:100%;width:100%;"/>
  129.         </top>  
  130.         <center id="borderLayout-center2" style="width:100%;height:100%;">
  131.           <xui:place control="vList" id="controlPlace2" style="height:100%;width:100%;"/>
  132.         </center>
  133.       </xhtml:div>
  134.     </xui:layout>
  135.   </xui:view>  
  136.   <xui:resource id="resource1">
  137.     <xhtml:script id="htmlScript1" src="checkCollectSearch.js"/>  
  138.     <xhtml:script id="htmlScript2" src="myEveryDayCheckActivity.js"/>
  139.   </xui:resource>
  140. </xui:window>
复制代码


虽然你的表白打动了我,但是我们还是做朋友吧;
尽管很感谢你喜欢上我,但是我们还是做朋友吧。

63

主题

552

帖子

763

积分

高级会员

Rank: 4

积分
763
QQ
 楼主| 发表于 2013-12-13 16:30:32 | 显示全部楼层
可以结贴了,我设置了所有的100%宽度为2000px就可以了


虽然你的表白打动了我,但是我们还是做朋友吧;
尽管很感谢你喜欢上我,但是我们还是做朋友吧。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35918
发表于 2013-12-13 17:28:51 | 显示全部楼层
设置100%设置overflow:auto
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

63

主题

552

帖子

763

积分

高级会员

Rank: 4

积分
763
QQ
 楼主| 发表于 2013-12-26 15:03:27 | 显示全部楼层
jishuang 发表于 2013-12-13 17:28
设置100%设置overflow:auto

嗯,可以结贴了


虽然你的表白打动了我,但是我们还是做朋友吧;
尽管很感谢你喜欢上我,但是我们还是做朋友吧。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-4-26 19:25 , Processed in 0.078337 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表