Row Details error for dynamic table: a is null, b is null
Row Details error for dynamic table: a is null, b is null
jQuery_user
Posts: 27Questions: 0Answers: 0
Hi,
I am using data tables for a dynamically generated table (via ajax calls). The table by itself works fine (as I am emptying the div which holds the table, between the ajax calls). But when I implemented row details, I started getting error after the first ajax call (the first rendering of the row details works fine). If I click to open the row details, I see this error:
a is null ..... (line 99)
If I close the row details, I see a different error:
b is null..... (line 125)
Is this a bug, or does row details work for dynamic tables.
I am using data tables for a dynamically generated table (via ajax calls). The table by itself works fine (as I am emptying the div which holds the table, between the ajax calls). But when I implemented row details, I started getting error after the first ajax call (the first rendering of the row details works fine). If I click to open the row details, I see this error:
a is null ..... (line 99)
If I close the row details, I see a different error:
b is null..... (line 125)
Is this a bug, or does row details work for dynamic tables.
This discussion has been closed.
Replies
Allan
The variables a and b point to jquery.dataTables.min.js code. Here is the line 99 from firebug for "a is null" error:
c++;if(d==b)return a.aoColumns[d].bVisible===true?c:null}return null}function U(a,b){var c,d;c=a._iDisplayStart;for(d=a._iDisplayEnd;c
Allan
[code]for ( i=s._iDisplayStart, iLen=s._iDisplayEnd ; i
Allan
I moved the rowdetails event method "function fnFormatDetails ( oTable, nTr )" to document.ready()