找回密码
 立即注册

QQ登录

只需一步,快速开始

angry003

中级会员

35

主题

119

帖子

512

积分

中级会员

积分
512

活字格认证微信认证勋章

angry003
中级会员   /  发表于:2017-5-8 15:15  /   查看:3168  /  回复:3
请问,wijmo 表格的高度能不能自定义,类似于自定义表格宽度

3 个回复

倒序浏览
Alice
社区贡献组   /  发表于:2017-5-8 15:27:15
沙发
Felxgrid的行为是和标准的div类似。

可以通过css来设置高度。
比如代码:
  1. .grid {
  2.     height: auto;
  3.     max-height: 300px;
  4. }
复制代码


如果是设置行高,可以通过行下的defaultSize属性设置。
  1. // set the height of rows in the scrollable area
  2. flex.rows.defaultSize = 34;
  3. // set the height of rows in the column header area
  4. flex.columnHeaders.rows.defaultSize = 40;
复制代码
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
angry003
中级会员   /  发表于:2017-5-8 16:13:24
板凳
好的,我看下,谢谢啦
回复 使用道具 举报
Alice
社区贡献组   /  发表于:2017-5-8 16:42:27
地板
angry003 发表于 2017-5-8 16:13
好的,我看下,谢谢啦

嗯嗯,不客气。
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部