fnAddTr - Microsoft JScript runtime error: Object doesn't support this property or method
fnAddTr - Microsoft JScript runtime error: Object doesn't support this property or method
richbuff
Posts: 6Questions: 0Answers: 0
I know this is probably obvious, but... what js file do I need to include to get fnAddTr()?
I am calling it like this:
[code]
var searchRt = $("#visibletable table").dataTable({/* options */});
$("#searchresults table tr").each(function (idx, elem) {
searchRt.fnAddTr($(elem)); // elem is a , add it to existing table
});
[/code]
I am using v1.9.2.
Thanks!
Rich
I am calling it like this:
[code]
var searchRt = $("#visibletable table").dataTable({/* options */});
$("#searchresults table tr").each(function (idx, elem) {
searchRt.fnAddTr($(elem)); // elem is a , add it to existing table
});
[/code]
I am using v1.9.2.
Thanks!
Rich
This discussion has been closed.
Replies
Worth noting that DataTables 1.10 will support this natively :-)
Allan
Can't wait for 1.10 :-)
Rich
Me neither :-)
Good to hear you got it going.
Allan