Backward compatability note for .fnOpen() - return change
Backward compatability note for .fnOpen() - return change
SJNR
Posts: 2Questions: 0Answers: 0
Now returns (or not, depending on how you see it :-) ) "undefined" rather than the "" in 1.9.4
Sorry if it is a duplicate - I tried to see if this was in previous posts...
Why this was important to me :-
the new row is immediatly populated with a Loading Ani while the ajax is off doing its stuff :
I used to use *-
[code]
var newRow = ap_List.fnOpen(nTr,"", 'elem_DataTableNotes');
console.log(newRow) //result : v.1.9.4 ="" ,v1.10="undefined"
var rowData = fn_getNewRowData();
var myTarg = $("td",newRow);
myTarg.html(rowData);
[/code]
don't realy fancy changing it in loads of places :-(
: Again, Thanks for the wonderfull work
(* this is "pseudo code", not as procedural as it looks here...)
Sorry if it is a duplicate - I tried to see if this was in previous posts...
Why this was important to me :-
the new row is immediatly populated with a Loading Ani while the ajax is off doing its stuff :
I used to use *-
[code]
var newRow = ap_List.fnOpen(nTr,"", 'elem_DataTableNotes');
console.log(newRow) //result : v.1.9.4 ="" ,v1.10="undefined"
var rowData = fn_getNewRowData();
var myTarg = $("td",newRow);
myTarg.html(rowData);
[/code]
don't realy fancy changing it in loads of places :-(
: Again, Thanks for the wonderfull work
(* this is "pseudo code", not as procedural as it looks here...)
This discussion has been closed.
Replies
I've just committed a fix for this and the nightly now behaviour now matches that of 1.9: http://live.datatables.net/mizozin/1/edit
Allan
Hi Allan,
Where can I get DataTables.js with updated with the above change. I downloaded one recently but seems that is also having same issue.