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

QQ登录

只需一步,快速开始

查看: 2112|回复: 5

[处理中5] grid设置了固定列数,改变某列的宽度,Grid走样

[复制链接]

296

主题

813

帖子

3157

积分

论坛元老

Rank: 8Rank: 8

积分
3157
QQ
发表于 2013-11-6 16:28:55 | 显示全部楼层 |阅读模式
grid设置了固定列数,拉宽Remakrs列后,不能看见后面的列了,请问怎样解决?


未拉宽

未拉宽

拉宽后

拉宽后
遥睇燕云十六州,史诗全译骇鲁迅, 商量旧学几经秋。释老渊源正魏收。 榜加糖法成专史,南北齐名真忝窃, 弥勒奇书释去楼。乍闻乘化重悲忧。

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
35945
发表于 2013-11-6 16:52:02 | 显示全部楼层
布局grid外层的view的overflow设置为auto
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

296

主题

813

帖子

3157

积分

论坛元老

Rank: 8Rank: 8

积分
3157
QQ
 楼主| 发表于 2013-11-6 17:07:15 | 显示全部楼层
布局grid外层的view的overflow设置为auto  不行。


我去拉动前面的固定列的宽度后,后面的就正常了。请问是怎样解决?
遥睇燕云十六州,史诗全译骇鲁迅, 商量旧学几经秋。释老渊源正魏收。 榜加糖法成专史,南北齐名真忝窃, 弥勒奇书释去楼。乍闻乘化重悲忧。
回复 支持 反对

使用道具 举报

4

主题

1579

帖子

2706

积分

内部用户

积分
2706
发表于 2013-11-7 08:58:57 | 显示全部楼层
把grid定义发一下;

使用平台的版本?
回复 支持 反对

使用道具 举报

296

主题

813

帖子

3157

积分

论坛元老

Rank: 8Rank: 8

积分
3157
QQ
 楼主| 发表于 2013-11-7 09:42:45 | 显示全部楼层
<xhtml:div class="grid-compact" component="/UI/system/components/grid.xbl.xml#grid" header-row-height="25" style="height: 100%; width: 100%; overflow:auto; " row-height="20" id="gridList" data="datafdetail" space-column="false" fixed-column-size="7" edit-mode="true">
  <xui:column id="gridColumn1" ref="PRIMARY_ID" label="No." type="ed" width="40px" readonly="true"></xui:column><xui:column id="gridColumn40" ref="RELEASE_NAME" label="發放狀態" type="ed" width="65px" readonly="true"></xui:column><xui:column id="gridColumn2" ref="PROD_NO" label="产品编号" type="ed" width="56px" readonly="true"></xui:column><xui:column id="gridColumn3" ref="PROD_NAME" label="產品名稱" type="ed" width="103px" readonly="true"></xui:column><xui:column id="gridColumn6" ref="BATCH_NO" label="批號" type="ed" width="48px" readonly="true"></xui:column><xui:column id="gridColumn8" ref="CPROD_BOX" label="&lt;span style ='color:Red;font-weight:bold;'&gt; 每箱盒數 &lt;/span&gt;" type="html" width="50px" readonly="true" onRender="mainActivity.gridList_CPROD_BOXRender"> </xui:column><xui:column id="gridColumn12" ref="SHIP_QTY" label="&lt;span style ='color:Red;font-weight:bold;'&gt; 出貨成品數 &lt;/span&gt;" type="html" width="67px" readonly="false" onRender="mainActivity.gridList_SHIP_QTYRender"></xui:column><xui:column id="gridColumn9" ref="STOCK_QTY" label="入庫數" type="ed" width="51px" readonly="true"></xui:column><xui:column id="gridColumn11" ref="UNSHIP_QTY" label="待出貨成品數" type="ed" width="64px" readonly="true"></xui:column><xui:column id="gridColumn37" ref="RELEASE_NO" label="RELEASE_NO" type="ed" width="28px" readonly="true" visible="false"></xui:column>
  
  
  
  
  
  
  
  
  
  <xui:column id="gridColumn5" ref="PROD_SPEC" label="規 格" type="ed" width="54px" readonly="true"></xui:column>
  
  
  <xui:column id="gridColumn23" ref="FREEZ_TYPE_NO" label="FREEZ_TYPE_NO" type="ed" width="42px" readonly="true" visible="false"></xui:column>
  <xui:column id="gridColumn34" ref="FREEZ_TYPE_NAME" label="特殊要求" type="ed" width="54px" readonly="true"></xui:column>
  <xui:column id="gridColumn10" ref="PROD_DATE" label="生產完成時間" type="ed" width="75px" readonly="true"></xui:column>
  
  
  
  <xui:column id="gridColumn13" ref="START_BOX_NO" label="出貨首箱號" type="ed" width="71px" readonly="true"></xui:column>
  <xui:column id="gridColumn14" ref="END_BOX_NO" label="出貨尾箱號" type="ed" width="67px" readonly="true"></xui:column>
  <xui:column id="gridColumn15" ref="END_BOX_QTY" label="出貨箱尾數" type="ed" width="62px" readonly="true"></xui:column>
  <xui:column id="gridColumn16" ref="SHIP_TOTAL_QTY" label="出貨總件數" type="ed" width="62px" readonly="true"></xui:column>
  <xui:column id="gridColumn17" ref="QUOTA" label="&lt;span style ='color:Red;font-weight:bold;'&gt; Quota數 &lt;/span&gt;" type="ed" width="100px"></xui:column>
  <xui:column id="gridColumn18" ref="CARD_NO" label="&lt;span style ='color:Red;font-weight:bold;'&gt; 出口證號 &lt;/span&gt;" type="ed" width="100px"></xui:column>
  <xui:column id="gridColumn19" ref="NEW_VERSION" label="&lt;span style ='color:Red;font-weight:bold;'&gt; 新版本外包材 &lt;/span&gt;" type="ed" width="76px" enter-selected="false">
     </xui:column>
  <xui:column id="gridColumn20" ref="REMARKS" label="Remark" type="ed" width="100px"></xui:column>
  <xui:column id="gridColumn21" ref="TOTAL_CBM" label="Total CBM" type="ed" width="72px" readonly="true"></xui:column>
  <xui:column id="gridColumn7" ref="VALUE_1_NO" label="40呎GP" type="ch" width="46px"></xui:column>
  <xui:column id="gridColumn22" ref="VALUE_1_PER_NAME" label="40呎GP" type="ed" width="43px" readonly="true"></xui:column>
  <xui:column id="gridColumn32" ref="VALUE_2_NO" label='40呎高櫃' type="ch" width="46px"></xui:column>
  <xui:column id="gridColumn33" ref="VALUE_2_PER_NAME" label="40呎高櫃" type="ed" width="45px" readonly="true"></xui:column>
  <xui:column id="gridColumn35" ref="VALUE_3_NO" label="20呎GP" type="ch" width="40px"></xui:column>
  <xui:column id="gridColumn36" ref="VALUE_3_PER_NAME" label="20呎GP" type="ed" width="46px" readonly="true"></xui:column>
  <xui:column id="gridColumn38" ref="VALUE_4_NO" label="40呎凍櫃" type="ch" width="50px"></xui:column>
  <xui:column id="gridColumn39" ref="VALUE_4_PER_NAME" label="40呎凍櫃" type="ed" width="47px" readonly="true"></xui:column>
  <xui:column id="gridColumn41" ref="VALUE_5_NO" label="20呎凍櫃" type="ch" width="50px"></xui:column>
  <xui:column id="gridColumn42" ref="VALUE_5_PER_NAME" label="20呎凍櫃" type="ed" width="53px" readonly="true"></xui:column>

  </xhtml:div>

版本 5.2.5
遥睇燕云十六州,史诗全译骇鲁迅, 商量旧学几经秋。释老渊源正魏收。 榜加糖法成专史,南北齐名真忝窃, 弥勒奇书释去楼。乍闻乘化重悲忧。
回复 支持 反对

使用道具 举报

4

主题

1579

帖子

2706

积分

内部用户

积分
2706
发表于 2013-11-7 14:21:40 | 显示全部楼层
这是grid固定列下的bug,后续版本将会修正
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-21 14:56 , Processed in 0.095799 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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