Cannot "freeze" left column
Cannot "freeze" left column
jbeard03
Posts: 13Questions: 0Answers: 0
First, let me say great software. I have implemented DataTables and the FixedHeader plugin - http://www.memphisyouthsoccer.com/availtest/reflog.php
but I can not get the left column to "freeze". As you can see the fixed header is working as are other elements of DataTables.
I have included the "left": true code but no results. I am using PHP to generate the table (using data from a csv file).
Any ideas?
but I can not get the left column to "freeze". As you can see the fixed header is working as are other elements of DataTables.
I have included the "left": true code but no results. I am using PHP to generate the table (using data from a csv file).
Any ideas?
This discussion has been closed.
Replies
"DataTables warning (table id = 'log'): Unexpected number of TD elements. Expected 192 and got 195. DataTables does not support rowspan / colspan in the table body, and there must be one cell for each row/column combination."
As it says, there needs to be a unique header for each column - which there isn't at the moment. I suspect when that is changed it should just start working.
Allan
I found a thread that discussed a bug that you fixed that caused FixedHeader to want a footer. I uncommented the footer and made sure they were unique - now the first column is trying to freeze but for some reason it skips the first row and uses the first cell of the footer (heights are off as well).
http://www.memphisyouthsoccer.com/availtest/reflog.php
Diff: http://github.com/DataTables/FixedHeader/commit/558b3a7370feae5f08b665a44ef84791654bcbb5
Allan
Thank you again for everything.