简体   繁体   English

TreeTable中可调整大小的列?

[英]Resizeable columns in TreeTable?

I'm using Ludo's great TreeTable plugin , but I'm trying to figure out how to make 'resizeable columns' -- meaning the user can grab the border in the table head / row, then shift them to alter the size of the columns. 我正在使用Ludo出色的TreeTable插件 ,但我试图弄清楚如何制作“可调整大小的列”-意味着用户可以抓住表头/行中的边框,然后移动它们以更改列的大小。

I found one thing out there that does something similiar -- here -- however it's written heavy in java, and doesn't jive with the the pure JS solution I think this should be. 我发现那里有一件类似的事情- 在这里 -但是它用Java编写很繁重,并且与我认为应该的纯JS解决方案并不一致。

Does anyone know of an attainable way to do this? 有谁知道可以做到这一点的方法吗? I tried combining flexigrid with treetable but that turned out to be pretty insanely difficult (and maybe fruitless) solution. 我曾尝试将flexigrid与treetable结合使用 ,但结果却发现解决方案异常疯狂(可能毫无结果)。

For all of its down sides, ExtJS does tables/trees very well. 对于所有缺点,ExtJS都能很好地处理表/树。

ExtJS 4.2.0 ExtJS 4.2.0

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

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