Does TableTools work with FixedHeader
Does TableTools work with FixedHeader
jbeard03
Posts: 13Questions: 0Answers: 0
Can one use TableTools with FixedHeader? If so, what is the initialisation code?
I can not. I can get either to work but not at the same time.
I can not. I can get either to work but not at the same time.
This discussion has been closed.
Replies
Allan
http://www.memphisyouthsoccer.com/availtest/reflog.php
[code]
var oTable = $('#log').dataTable({
"sDom": 'T<"clear">lfrtip'
});
[/code]
I don't see why that wouldn't work. Do you get any JS errors?
Allan
My code is
[code]var oTable = $('#log').dataTable();
"sDom": 'T<"clear">lfrtip'
new FixedHeader( oTable, { "left": true, "bottom": true } );
});[/code]
[code]$(document).ready( function () {
TableToolsInit.sSwfPath = "ZeroClipboard.swf";
var oTable = $('#log').dataTable();
"sDom": 'T<"clear">lfrtip'
new FixedHeader( oTable, { "left": true, "bottom": true } );
} ); [/code]
Allan
[code] $(document).ready( function () {
TableToolsInit.sSwfPath = "ZeroClipboard.swf";
var oTable = $('#log').dataTable( {
"bPaginate": false } );
// "sDom": 'T<"clear">lfrti' } );
new FixedHeader( oTable, { "left": true, "bottom": true } );
} );[/code]
If I uncomment the "sDom" line and replace } ); with a comma after "bPaginate" line then the Search box goes away and left column is no longer "frozen" AND the SWF is not displayed. But now I get a different error
Error: document.getElementsByTagName("title")[0] is undefined
Source File: http://www.memphisyouthsoccer.com/availtest/TableTools.js
Line: 455
I hope I am not doing something stupid and wasting your valuable time. I am more a hacker than a programmer unfortunately.
The "box" appeared, but the "icons" are not being displayed - I can click on each area and the commands are activated (can save to clipboard, csv, excel and print), but no icons. I am looking in forum for an answer but if you can help this dummy please do.
Not only are you extremely talented - you are good people. To provide this great code and support it for free (I am a bit strapped for cash at the moment, but I will make a donation soon) AND have patience with the likes of me - takes a special person like you. THANK YOU. (and from what I read, everyone else on the forum feels the same way)