Datatables jquery数据表:导出多个标头
我使用的是DataTables 1.10.10和Buttons 1.1.0的最新版本。我正在尝试生成PDF和Excel文件或打印视图,但我只得到一个标题行,只有第二个 这是表格:Datatables jquery数据表:导出多个标头,datatables,Datatables,我使用的是DataTables 1.10.10和Buttons 1.1.0的最新版本。我正在尝试生成PDF和Excel文件或打印视图,但我只得到一个标题行,只有第二个 这是表格: <table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%"> <thead> <tr>
<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th colspan='4'>User</th>
<th>Start </th>
<th>Basic</th>
</tr>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
</table>
使用者
开始
基本的
名称
位置
办公室
年龄
开始日期
薪水
我创建了一个js小提琴:
是否可以导出具有多个标题的报告
不,对不起。没有在按钮中导出多个标题的选项
()
所以显然没有官方的ATM机
但是,您可以使用选项中的
自定义,+数据表不支持此功能
-使用custome导出库或函数您找到了吗?我也有同样的问题。这被认为是一个评论。3年后有什么更新吗?还是没有多标题导出?