[英]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.