datatable show null data how to fix
datatable show null data how to fix
ballprogrammer
Posts: 11Questions: 0Answers: 0
jquery-1.7.1
datatables-1.8.2
$(window).load(function () {
$('#Table1').dataTable({
"aaData": [{"id":1,"text":"a"},{"id":2,"text":"b"},{"id":3,"text":"c"},],
"aoColumns": [{"mData": "id","sTitle":"id"},{"mData": "text","sTitle":"text"}],
});
});
data show null 3 row
how to fix
note ..
i use datatable-1.9.4 is working
i want use datatables-1.8.2
datatables-1.8.2
$(window).load(function () {
$('#Table1').dataTable({
"aaData": [{"id":1,"text":"a"},{"id":2,"text":"b"},{"id":3,"text":"c"},],
"aoColumns": [{"mData": "id","sTitle":"id"},{"mData": "text","sTitle":"text"}],
});
});
data show null 3 row
how to fix
note ..
i use datatable-1.9.4 is working
i want use datatables-1.8.2
This discussion has been closed.
Replies
There was an mDataProp option in 1.8 which might work for you, but old versions are unsupported.
Allan
^^