Jquery 数据表按两列分组并展开和折叠
Jquery datatable group by two columns with expand and collapse
引用:
我想要#1 中的数据表,但两个级别都具有#2 的功能,即两个级别都可以展开和折叠。
fiddle参考:jsfiddle.net/RgKPZ/488/
如果除了jquery datatables还有其他类似的插件,也请告诉我。
提前致谢。
.rowGrouping({
iGroupingColumnIndex1:2,
bExpandableGrouping: true, // expand/collapse first column
bExpandableGrouping2: true // expand/collapse second column
});
已更新 this fiddle,您可以使用 css 设置缩进。
引用:
我想要#1 中的数据表,但两个级别都具有#2 的功能,即两个级别都可以展开和折叠。
fiddle参考:jsfiddle.net/RgKPZ/488/
如果除了jquery datatables还有其他类似的插件,也请告诉我。 提前致谢。
.rowGrouping({
iGroupingColumnIndex1:2,
bExpandableGrouping: true, // expand/collapse first column
bExpandableGrouping2: true // expand/collapse second column
});
已更新 this fiddle,您可以使用 css 设置缩进。