更新时间:2022-10-28 12:03:04
重要的是,您的THEAD在表中不为空。由于dataTable要求您指定预期数据的列数。
根据你的数据应该是
It's important that your THEAD not be empty in table.As dataTable requires you to specify the number of columns of the expected data . As per your data it should be
<table id="datatable">
<thead>
<tr>
<th>Subscriber ID</th>
<th>Install Location</th>
<th>Subscriber Name</th>
<th>some data</th>
</tr>
</thead>
</table>