K is undefined error

K is undefined error

manbirmanbir Posts: 3Questions: 0Answers: 0
edited November 2010 in Bug reports
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

Replies

  • manbirmanbir Posts: 3Questions: 0Answers: 0
    firebug showing error like this:

    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
  • manbirmanbir Posts: 3Questions: 0Answers: 0
    edited November 2010
    My table was single column table.
    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.
This discussion has been closed.