First fixed column with horizontal table scrolling

First fixed column with horizontal table scrolling

jonasjonas Posts: 11Questions: 0Answers: 0
edited September 2010 in General
Hi everyone,

I just updated to the latest version and I am wondering if anyone managed to use the horizontal scrolling while keeping the first column fixed.

I don't want to keep the headers fixed (but I guess the header of the first column would have to be fixed as well as the rest of the column).

Thanks again Allan for working so hard on this library.

Regards

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi jonas,

    The FixedHeader library isn't currently compatible with scrolling in DataTables 1.7. In fact, for the most part it has been made redundant by the scrolling feature (assuming one is using it). The one place where it is still useful is the left hand column being fixed in place...

    This will require a new plug-in to be written for DataTables. It will be based on the FixedHeader code, so I don't expect it to take all that long (3-4 hours perhaps), I've just not had a chance to sit down and write the code for it yet! It's certainly on the to-do list, and what I'll look at after the current work.

    Regards,
    Allan
  • jonasjonas Posts: 11Questions: 0Answers: 0
    Hey Allan,

    Thanks for your very fast reply.

    For now, I am toggling on/off the columns of my table. I will patiently wait for this feature ;)

    Thanks a lot.

    Jonathan
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi Jonathan,

    Prompted by your post, I put together a plug-in to do exactly this for DataTables: http://datatables.net/forums/comments.php?DiscussionID=2815 . Hope it does the trick for you.

    Regards,
    Allan
  • jonasjonas Posts: 11Questions: 0Answers: 0
    Ohh Thanks Allan,

    Will try it straightaway !

    Thanks.
This discussion has been closed.