FixedColumns destroy / blank out original column cells
FixedColumns destroy / blank out original column cells
We are experiencing fixed column doubling when you resize the page.
Here is what it looks like on page load:
http://i.imgur.com/QIL3CdT.jpg
Here is what happens if you resize the browser window:
http://i.imgur.com/OPyFlhb.jpg
And one customer sent this where even at full screen there is some overlap:
http://i.imgur.com/RG0Wt5d.jpg
Can an option be added to destroy the original column or overwrite it's contents with a spacer?
Here is what it looks like on page load:
http://i.imgur.com/QIL3CdT.jpg
Here is what happens if you resize the browser window:
http://i.imgur.com/OPyFlhb.jpg
And one customer sent this where even at full screen there is some overlap:
http://i.imgur.com/RG0Wt5d.jpg
Can an option be added to destroy the original column or overwrite it's contents with a spacer?
This discussion has been closed.
Replies
Allan
[quote]ReferenceError: FixedColumns is not defined
new FixedColumns( oTable, oFixedOptions);[/quote]
[code]
var oTable = jq('#work_orders').dataTable(oDTSettings);
//console.log(oTable.fnSettings());
var oFixedOptions = {
"fnRowCallback": '',
"fnDrawCallback": fnPluginDrawCallback,
"iLeftColumns": 0,
"sHeightMatch": "none"
}
// If the last column is icons, apply the fixed column plugin
if(window.aoColumnDefs[window.aoColumnDefs.length-1].mData == "icons"){
oFixedOptions.iRightColumns = 1;
}
// Don't render on IE8 or below
if (!(jq.browser.msie && jq.browser.version <= '8')){
new FixedColumns( oTable, oFixedOptions);
}
[/code]
EDIT: Here is a link to jsFiddle running DT 1.9.4 and FixedColumn 3.0.0 with the same error.
http://jsfiddle.net/weaponx86/MEWQZ/
All of the plug-ins have been updated to not pollute the global namespace with their latest releases: http://datatables.net/extras/fixedcolumns/
Allan
Screenshots: http://imgur.com/TLlBDxJ,pOwRXD5#0
Could the original cells be replaced with empty placeholders or maybe just fix the column width below?
Allan
http://imgur.com/zgqHfTN
Edit: Here is a link to a pure html version of the page:
https://alpha.propertypreswizard.com/test_scripts/beta/right_column.html
Allan