[eluser]paulopmx[/eluser]
[quote author="dave_in_chapelhill" date="1216803055"]In reply to my own prior post...
Apparently, showTableToggleBtn and showToggleBtn are distinct. Thus, there should be a showTableToggleButton default in parameters at top of flexigrid.js.
Further, to address the JS error mentioned when hover over header column name when showToggleBtn is false:
Node cannot be inserted at the specified point in the hierarchy" code: "3
[Break on this error] this.appendChild( a );
I fixed this, tho probably not optimally, by two edits in flexigrid.js:
Comment out/change:
Code:
// if (p.showToggleBtn) $(g.gDiv).prepend(g.nBtn);
$(g.gDiv).prepend(g.nBtn);
Wrap an 'if' around hover processing:
Code:
if (p.showToggleBtn) // DLC patch
{
(g.nDiv).hide();$(g.nBtn).hide();
$(g.nBtn).css({'left':nl,top:g.hDiv.offsetTop}).show();
var ndw = parseInt($(g.nDiv).width());
$(g.nDiv).css({top:g.bDiv.offsetTop});
if ((nl+ndw)>$(g.gDiv).width())
(g.nDiv).css('left',onl-ndw+1);
else
$(g.nDiv).css('left',nl);
if ($(this).hasClass('sorted'))
$(g.nBtn).addClass('srtd');
else
$(g.nBtn).removeClass('srtd');
}