本文介绍了折叠/展开表格列(不是行)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个大型的报告,目前呈现为一个普通的HTML表格。我希望能够将列组合在一起,并用按钮展开/折叠它们。

对于行来说,这是一种非常常见的做法,但对于列来说不是那么重要。



我的堆栈包含jquery,所以可以使用它(尽管当然不是必需的!)。

解决方案

使用插件。不容易。


I have a large report currently rendered as a regular HTML table. I'd like to be able to group columns together and expand/collapse them with a button.

This is a very common practice for rows but not so much for columns. I was wondering if anyone has any tips for doing it with columns.

My stack includes jquery so that's available to you (though certainly not required!).

解决方案

Use the columnManager plugin. Can't be easier.

这篇关于折叠/展开表格列(不是行)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 20:13
查看更多