财产“_DT_CellIndex”我不能够解决以下数据表错误:无法解决的DataTable SCRIPT5007:无法设置的未定义或空引用
SCRIPT5007: Unable to set property '_DT_CellIndex' of undefined or null reference
我试图寻找所有在互联网上发现this是最好的解决方案。但是我仍然无法解决这个问题。我在这里错过了什么吗?我是JavaScript中的新手。
财产“_DT_CellIndex”我不能够解决以下数据表错误:无法解决的DataTable SCRIPT5007:无法设置的未定义或空引用
SCRIPT5007: Unable to set property '_DT_CellIndex' of undefined or null reference
我试图寻找所有在互联网上发现this是最好的解决方案。但是我仍然无法解决这个问题。我在这里错过了什么吗?我是JavaScript中的新手。
A simple mistake, the table header had a column " with no title, but the column did not exist in the table itself. I could not see it missing (because o no title and no borders).
有用吗?
我们有基于列的从0
在我们的餐桌开始数在DataTable中初始化了同样的错误,有什么固定的,我们正在改变(目标),我们有4列,以便taget:3 ]
$.extend($.fn.dataTable.defaults, {
columnDefs: [{
targets: [ 3 ]
}]
});
谢谢你的快速回复......让我看看 –
它似乎没有解决.....你知道我该如何检查我的表格thead标记td是否与我的表格匹配tbody td? –
你可以在这里发送你的代码https://jsbin.com,这样我可以帮助你更好吗? – a7madgamal