简体   繁体   English

如何在ZK中的数据透视表中调整列的大小

[英]How to Resizable column in pivot table in ZK

I have pivot table with large content . 我的数据透视表内容丰富。 Right now I am facing problem of column size. 现在,我正面临列大小的问题。

If there are large content in database at that time some contents are not displayed . 如果那时数据库中有大量内容,则不会显示某些内容。

Is there any property to make ZK pivottable column resizable . 是否有任何属性可以使ZK数据透视表列可调整大小。

Please check below image for more clear idea. 请检查下图以获得更清晰的主意。

在此处输入图片说明

You can utilize the following Javascript to resize it. 您可以利用以下Javascript调整其大小。 For example, 例如,

zk.Widget.$(jq('@pivottable')).$n('dataTitle').style.width = '600px';

See ZK pivoty tabel live demo 观看ZK关键性Tabel现场演示

http://www.zkoss.org/zkdemo/application/pivottable http://www.zkoss.org/zkdemo/application/pivottable

may be you found your solution 可能是您找到了解决方案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM