Filtering problem
Filtering problem
bengalaviz
Posts: 6Questions: 0Answers: 0
Just recently found this tool and love it. My problem is with filtering. I have it working, but there is a problem with the css i think. Everytime when the key up event is run, the width of the TH tags in the TFOOT grow by 1 to 2 px. Have not been able to track down where this is coming from.
This discussion has been closed.
Replies
[code]
/* Finally set the width's of the header and footer tables */
//nScrollHeadTable.style.width = _fnStringToCss( $(o.nTable).outerWidth() );
//nScrollHeadInner.style.width = _fnStringToCss( $(o.nTable).outerWidth()+o.oScroll.iBarWidth );
if ( o.nTFoot !== null )
{
var
nScrollFootInner = o.nScrollFoot.getElementsByTagName('div')[0],
nScrollFootTable = nScrollFootInner.getElementsByTagName('table')[0];
//nScrollFootInner.style.width = _fnStringToCss( o.nTable.offsetWidth+o.oScroll.iBarWidth );
//nScrollFootTable.style.width = _fnStringToCss( o.nTable.offsetWidth );
}
[/code]
after doing this, the table does not resize anymore.