Fixed Column Problems

Fixed Column Problems

jwinjwin Posts: 3Questions: 0Answers: 0
edited April 2013 in Bug reports
Okay, I am getting the same exact error as (https://www.datatables.net/forums/discussion/13958/problem-with-fixedcolumn-plugin) from Internet Explorer 8.

There error states:
Message: '0.className' is null or not an object
Line: 796
Char: 7

When in IE8, I do not see the images from the UI theme for the prev/next buttons until I change the number of rows being displayed (they appear the first time in Chrome). Also, when I increase the number of rows displayed, it only changes the non-fixed columns. I have set up a live example here: http://live.datatables.net/eyoxac/5

If you change the number of rows displayed, it will produce the error.

However, since the UI theme I have it pointing to referes to images relative to where it is hosted, the UI doesnt appear, so the prev/next do not show anyways. This example shows most of the issues I am having though. This example I put up also doesn't format the width of the table to the page (until I change row count, etc.), but on my real page, it appears fitted to the window on the first load. The left, fixed column data does not change when paging either.

Also, I forgot the mention.. in order to get the fixed columns to freeze any left most columns, I found that I have to go back to jquery 1.8.2.. I couldn't get it to work with newer versions. No idea why. I have tried using the 2.5.0.dev version of Fixed Columns, with no luck.

I am new to datatables/fixed colums, but I'd love to get them working how I need them. Thanks in advance!

Josh

Replies

  • allanallan Posts: 63,685Questions: 1Answers: 10,498 Site admin
    Hi Josh,

    This will work with the 2.5.0 nightly if you just remove the sScrollXInner property (which there is a warning suggesting you do in the browser console): http://live.datatables.net/eyoxac/9/edit .

    It was a bug that is fixed in the development version.

    Allan
  • jwinjwin Posts: 3Questions: 0Answers: 0
    edited April 2013
    Thanks, Allan. I got it working, and with the latest version of JQuery, too. I needed to also put it inside of a DIV to define the width properly.
This discussion has been closed.