[英]How to specify the number of columns in datatables jQuery plugin
您代码中的问题是您缺少 <td>(第 248 行)。
<tr>
<td>Timothy Mooney</td>
<td>here is the error</td>
<td>37</td>
<td>2008/12/11</td>
</tr>
这是一个工作小提琴
您应该检查数据表文档: https : //www.datatables.net/manual/tech-notes/4
它在那里解释说
数据表警告:表 id={id} - 为行 {row-index}、column{column-index}` 请求未知参数“{parameter}”
{id} 替换为触发错误的表的 DOM id {parameter} 是 DataTables 请求的数据参数的名称
{row-index} 是触发错误的行的 DataTables 内部行索引 (row().index())。
{column-index} 是触发错误的列的列数据索引 (column().index())。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.