K is undefined error
K is undefined error
manbir
Posts: 3Questions: 0Answers: 0
Part of My Code:
id
$ps('#${ns}displayRecordsBody').html(html);
$ps('#${ns}displayRecords').dataTable({
"bJQueryUI": true,
"bPaginate": true,
"bDestroy":true,
"sPaginationType": "full_numbers"
});
When I am running, I am getting the error
first time when I fetch records, I get the error:
Error: TypeError, k is undefined
and second time
Error: TypeError, a.nTableWrapper is null
id
$ps('#${ns}displayRecordsBody').html(html);
$ps('#${ns}displayRecords').dataTable({
"bJQueryUI": true,
"bPaginate": true,
"bDestroy":true,
"sPaginationType": "full_numbers"
});
When I am running, I am getting the error
first time when I fetch records, I get the error:
Error: TypeError, k is undefined
and second time
Error: TypeError, a.nTableWrapper is null
This discussion has been closed.
Replies
onreadystatechange()engine.js (line 1205)
stateChange(Object { name="batch"})engine.js (line 1355)
_eval(Object { name="script"})engine.js (line 545)
eval()352 (line 3)
handleCallback(Object { name="batchId"}, Object { name="callId"}, Object { name="reply"})engine.js (line 659)
_handleError(Object { name="batch"}, Object { name="ex"})engine.js (line 568)
defaultErrorHandler(Object { name="message"}, Object { name="ex"})engine.js (line 160)
_debug(Object { name="message"}, Object { name="stacktrace"})engine.js (line 598)
Error: TypeError, k is undefined
To get rid off this error, I have to define one empty column and option like this:
for the data records
"aoColumnDefs": [
{ "bVisible": false, "aTargets": [1] }
]
once did that, everything worked fine.