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

QQ登录

只需一步,快速开始

楼主: ef61

[结贴] 如何给grid添加上下滚动条

[复制链接]

15

主题

79

帖子

278

积分

中级会员

Rank: 3Rank: 3

积分
278
 楼主| 发表于 2018-7-17 14:26:39 | 显示全部楼层
还是显示不出
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36196
发表于 2018-7-17 14:58:19 | 显示全部楼层
css样调试看看这高的高度等是多少
http://docs.wex5.com/css-debug/
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

15

主题

79

帖子

278

积分

中级会员

Rank: 3Rank: 3

积分
278
 楼主| 发表于 2018-7-17 15:27:46 | 显示全部楼层
组件显示不出,在那块区域点击只能显示整个页面的
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36196
发表于 2018-7-17 15:30:39 | 显示全部楼层
panel组件上的x-full去掉看看
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

15

主题

79

帖子

278

积分

中级会员

Rank: 3Rank: 3

积分
278
 楼主| 发表于 2018-7-17 15:38:51 | 显示全部楼层
还是显示不出;
参照docCenter页面,它的grid放在smartContainer下,我加进去也是显示不出。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36196
发表于 2018-7-17 16:00:51 | 显示全部楼层
row和col上的高度设置为100%
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

15

主题

79

帖子

278

积分

中级会员

Rank: 3Rank: 3

积分
278
 楼主| 发表于 2018-7-17 16:15:52 | 显示全部楼层
显示不出;
这么设置,去掉panel就和之前那样一个很小的范围。
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36196
发表于 2018-7-17 16:34:42 | 显示全部楼层
直接把/UI2/SA/doc/docCenter/docCenter.w文件中的布局拷贝过去修改看看
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

15

主题

79

帖子

278

积分

中级会员

Rank: 3Rank: 3

积分
278
 楼主| 发表于 2018-7-17 16:46:24 | 显示全部楼层
也没显示
<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window x-full-screen container-fluid" component="$UI/system/components/justep/window/window"
  design="device:pc" xmlns:xui="http://www.justep.com/xui">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;left:264px;top:676px;">
    <div component="$UI/system/components/justep/data/bizData" xid="treeData"
      autoLoad="true" autoNew="false" concept="BASE_districts" columns=""
      isTree="true">
      <writer xid="default1" action="/carFin/base/logic/action/saveBASE_districtsAction"/>  
      <creator xid="default2" action="/carFin/base/logic/action/createBASE_districtsAction"/>
      <reader action="/carFin/base/logic/action/queryBASE_districtsAction"/>
      <treeOption parentRelation="fBaDistDetailUplink" nodeKindRelation=""
        rootFilter=""/>
    </div>
  <div component="$UI/system/components/justep/data/bizData" autoLoad="true" xid="detailData" concept="BASE_districts_entry"><creator xid="default3" action="/carFin/base/logic/action/createBASE_districts_entryAction"></creator>
  <reader xid="default4" action="/carFin/base/logic/action/queryBASE_districts_entryAction"></reader>
  <writer xid="default5" action="/carFin/base/logic/action/saveBASE_districts_entryAction"></writer>
  <master xid="default6" data="treeData" relation="fBaDistParentUplink"></master></div></div>  
  <div class="container-fluid" xid="view">
    <div component="$UI/system/components/bootstrap/row/row" class="row" xid="row1" style="height:100%;">
      <div class="col col-xs-3" xid="col1" style="height:100%;">
        
      
  
  
  
  <div class="x-panel x-full" component="$UI/system/components/justep/panel/panel" xid="panel2">
   <div class="x-panel-top" height="48" xid="top2">
    </div>
   <div class="x-panel-content" xid="content2">
    <div class="x-smartcontainer" component="$UI/system/components/justep/smartContainer/smartContainer" style="margin-top: 4px;height:98%;" xid="smartContainer1">
     <div component="$UI/system/components/justep/grid/grid" hiddenCaptionbar="true" altRows="true" class="x-grid-no-bordered" xid="grid2" data="treeData" directEdit="false" height="auto" width="100%" appearance="tree" expandColumn="fName" virtualRootLabel="" useVirtualRoot="false">
          <columns xid="columns2">
            <column name="fName" xid="column1" />
          </columns>
        </div></div> </div>
   <div class="x-panel-bottom" xid="bottom2"></div></div></div>  
      <div class="col col-xs-9 col-spliter-left" xid="col2">
        <div component="$UI/system/components/justep/grid/grid" xid="mainGrid" data="detailData" width="100%" hiddenCaptionbar="true" height="auto" class="x-grid-no-bordered">
   <columns xid="column">
    <column name="fPinyin" editable="true" xid="column5">
     <editor xid="editor4">
      <input component="$UI/system/components/justep/input/input" class="form-control" bind-ref="ref('fPinyin')" xid="input4"></input></editor> </column><column name="fName" editable="true" xid="column3">
     <editor xid="editor2">
      <input component="$UI/system/components/justep/input/input" class="form-control" bind-ref="ref('fName')" xid="input2"></input></editor> </column><column name="fCity" editable="true" xid="column4">
     <editor xid="editor3">
      <input component="$UI/system/components/justep/input/input" class="form-control" bind-ref="ref('fCity')" xid="input3"></input></editor> </column><column name="fProvince" editable="true" xid="column6">
     <editor xid="editor5">
      <input component="$UI/system/components/justep/input/input" class="form-control" bind-ref="ref('fProvince')" xid="input5"></input></editor> </column><column name="fZip" editable="true" xid="column7">
     <editor xid="editor6">
      <input component="$UI/system/components/justep/input/input" class="form-control" bind-ref="ref('fZip')" xid="input6"></input></editor> </column><column name="fDescription" editable="true" xid="column2">
     <editor xid="editor1">
      <input component="$UI/system/components/justep/input/input" class="form-control" bind-ref="ref('fDescription')" xid="input1"></input></editor> </column>
     
     
     
     
     </columns> </div></div>
    </div>
  </div>
</div>
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36196
发表于 2018-7-17 17:00:13 | 显示全部楼层
平台默认的外层没有div,你自己的外层加了一个div
把div的高和宽都设置为100%

<div class="container-fluid" xid="view">
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-8-19 02:47 , Processed in 0.054087 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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