Object # has no method 'setAction'

Object # has no method 'setAction'

di4bl0sdi4bl0s Posts: 17Questions: 0Answers: 0
edited February 2011 in TableTools
Hi, First of all: Great Tool!

im getting an error (see title) I can't seem to find the cause for:
error occurs if including T in the sDom parameter to add the datatool to my DataTable

the full code for datatables is

[code]
$('.tablesorter').dataTable( {
"bProcessing": true,
"bServerSide": true,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "https://localhost/TQM2/ajax/tbldata/?t=Datapoints&Pool=5&customer=&Type=",
"fnServerData": function ( sSource, aoData, fnCallback ) {
$.ajax( {
"dataType": 'json',
"type": "POST",
"url": sSource,
"data": aoData,
"success": fnCallback
} );
},
"oTableTools": {
"aButtons": ["copy", "csv", "xls", "pdf"],
"sSwfPath": "javascript/ZeroClipboard.swf"
},
"sDom": '<"H"lTfr>t<"F"ip>',
"bAutoWidth": false,
"aoColumns": [
{ "sClass": "center datatablecell", "bSearchable": false, "bSortable": false, "sWidth": "10px" },
{ "sClass": "center datatablecell", "sName": "del", "bSearchable": false, "bSortable": false, "sWidth": "55px" },
{ "sClass": "center datatablecell", "sName": "edit", "bSearchable": false, "bSortable": false, "sWidth": "35px" },
{ "sClass": "center datatablecell", "sName": "id" },
{ "sClass": "center datatablecell", "sName": "ServiceLine" },
{ "sClass": "center datatablecell", "sName": "Pool" },
{ "sClass": "center datatablecell", "sName": "Customer" },
{ "sClass": "center datatablecell", "sName": "DataPoint" },
{ "sClass": "center datatablecell", "sName": "Type" }
],
"aaSorting": [[4,'asc'],[5,'asc'],[6,'asc'],[7,'asc']]
} ).fnSetFilteringDelay(500);
} );
[/code]

any help is greatly appriciated

Replies

  • di4bl0sdi4bl0s Posts: 17Questions: 0Answers: 0
    ok found the solution after i used to TableSorted.js file instead of min, the problem was related to an older ZeroClipboard js file I was using for other functionality, replacing the file solved the issue
    hope this may help others as well
This discussion has been closed.