FixedColumns not working when data is loaded via array

FixedColumns not working when data is loaded via array

WeaponX86WeaponX86 Posts: 40Questions: 0Answers: 0
edited February 2012 in Plug-ins
I have created two identical scripts, same doctype, css, javascript files, and data are used. When I apply DataTables to an existing table, the fixed column works, when I load a javascript array into aaData, it's broken.

Working example (Existing table):
http://dev.propertypreswizard.com/test_scripts/beta/right_column.html

Broken example (Data loaded via javascript array):
http://dev.propertypreswizard.com/test_scripts/beta/stretch2.html

In the second example, the right most column disappears, and I can see it (DTFC_RightWrapper) in Firebug but the position is off screen and the width is empty, it seems to be calculated incorrectly.

Any help would be appreciated.

Replies

  • WeaponX86WeaponX86 Posts: 40Questions: 0Answers: 0
    Just for clarification, the broken example actually works if you define iRightWidth for the FixedColumn.
This discussion has been closed.