TableTools have error when select rows.
TableTools have error when select rows.
Hello every one, I use DataTable to build my web app with library:
DataTables v1.9.4
JQuery v1.8.2
TableTools v2.1.4.
The first when I initialize DataTable it work OK!
But when I reinitialize DataTables I can not select rows.
TableTools info error "TypeError: this.s.dt.aoData[pos] is undefined"
return (this.s.dt.aoData[pos]._DTTT_selected===true) ? true : false; TableTools.js (line 397)
if (oTable != null) {
oTable.fnClearTable();
oTable.fnDestroy();
}
oTable = $('#memberSearchResult').dataTable({
"iDisplayLength" : 5,
"aaData" : parentArray,
"aoColumns" : [ {
"mData" : 0
}, {
"mData" : 1
}, {
"mData" : 2
}, {
"mData" : 3
}, {
"mData" : 4
} ],
"bFilter": false,
"sPaginationType": "full_numbers",
"bInfo": true,
"oLanguage": {
"sUrl": "../js/dataTables.japan.txt"
});
Can you help me fix this bug?
Thank you so munch!
DataTables v1.9.4
JQuery v1.8.2
TableTools v2.1.4.
The first when I initialize DataTable it work OK!
But when I reinitialize DataTables I can not select rows.
TableTools info error "TypeError: this.s.dt.aoData[pos] is undefined"
return (this.s.dt.aoData[pos]._DTTT_selected===true) ? true : false; TableTools.js (line 397)
if (oTable != null) {
oTable.fnClearTable();
oTable.fnDestroy();
}
oTable = $('#memberSearchResult').dataTable({
"iDisplayLength" : 5,
"aaData" : parentArray,
"aoColumns" : [ {
"mData" : 0
}, {
"mData" : 1
}, {
"mData" : 2
}, {
"mData" : 3
}, {
"mData" : 4
} ],
"bFilter": false,
"sPaginationType": "full_numbers",
"bInfo": true,
"oLanguage": {
"sUrl": "../js/dataTables.japan.txt"
});
Can you help me fix this bug?
Thank you so munch!
This discussion has been closed.
Replies
TableTools can not select rows when reinitialize.
Allan