Issue with fnStandingRedraw - unable to select any table row after calling it
Issue with fnStandingRedraw - unable to select any table row after calling it
seanburke13
Posts: 3Questions: 0Answers: 0
[code]
theRecordID = $("#form_theRecordID").val();
oTableLocal = $('#theTable').dataTable();
oTableLocal.fnStandingRedraw();
var aTrs = oTableLocal.fnGetNodes();
for ( var i=0 ; i
theRecordID = $("#form_theRecordID").val();
oTableLocal = $('#theTable').dataTable();
oTableLocal.fnStandingRedraw();
var aTrs = oTableLocal.fnGetNodes();
for ( var i=0 ; i
This discussion has been closed.
Replies
Allan
[code]
var aTrs = oTableLocal.fnGetNodes();
for ( var i=0 ; i
[code]
$('#myTable').one( 'draw.dt', function () {
// ... add classes etc
} );
oTableLocal.fnStandingRedraw();
[/code]
then the event handler will fire on the next draw (i.e. when the data has loaded).
Allan