treegrid行高问题 [英] treegrid row height problem

查看:129
本文介绍了treegrid行高问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我希望treegrid中的行具有相同的高度,如果有一个包含大量内容的单元格,那么就能点击它单元格或行,行高度将增加 - 以便所有单元格内容都可见。


默认情况下,如果未设置MaxHeight且VarHeight设置为1,则行高度调整,以便所有单元格内容都可见,但我希望这只在单击单元格或行后发生。


任何想法如何做到这一点?

提前致谢。

Hi,

I want the rows in the treegrid to have the same height, and if there''s a cell with a lot of content, to be able to click on that cell or row, and the row height will increase - so that all the cell content is visible.

By default if the MaxHeight is not set and VarHeight is set to 1, the rows height adjust so that all the cells content is visible, but I want this to happen only after clicking the cell or row.

Any idea how to do that?

Thanks in advance.

推荐答案

发布您的代码或链接。您使用的是第三方treegrid吗?
Post your code or a link. Are you using a third party treegrid?


您好,


我已经从以下网址下载了treegrid zip文件:
http://www.treegrid.com/TreeGrid5_6 / ... STreeGrid.html


我的文件:


htnl文件:


[HTML]< html>

< head>

< script src =" ../../ Grid / GridE.js"> < / script>


< / head>

< body>


< div style =" WIDTH:100%; HEIGHT:90%>>

< bdo Layout_Url =" myFirstDef.xml" Data_Url =" myFirstData.xml">< / bdo>

< / div>


< / body>

< / html>

[/ HTML]


数据文件:

Hi,

I''ve downloaded treegrid zip file from :

http://www.treegrid.com/TreeGrid5_6/...STreeGrid.html

my files:

the htnl file:

[HTML]<html>
<head>
<script src="../../Grid/GridE.js"> </script>

</head>
<body>

<div style="WIDTH:100%;HEIGHT:90%">
<bdo Layout_Url="myFirstDef.xml" Data_Url="myFirstData.xml"></bdo>
</div>

</body>
</html>
[/HTML]

The data file:

展开 | 选择 | Wrap | 行号


您是否浏览过教程


这篇关于treegrid行高问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆