Basic FixedColumns Setup

Basic FixedColumns Setup

SharonGSharonG Posts: 4Questions: 0Answers: 0
edited April 2014 in General
Hi! I am having a problem getting FixedColumns setup properly. Here is my example: http://live.datatables.net/wikoled/3/edit. I'm just trying to freeze one left column using semi-real data, but I'm not getting a fixed column at all. Instead, all columns are scrolling along the x axis. Any advice would be appreciated!

Thanks,
Sharon

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    edited April 2014
    Hi Sharon,

    I think its just a little typo:

    > new $.fn.dataTable.fixedColumns( oTable);

    Should be:

    [code]
    new $.fn.dataTable.FixedColumns( oTable);
    [/code]

    http://live.datatables.net/wikoled/5/edit

    The convention in my software is to use a capital name when the object can be used as a constructor.

    Allan
  • SharonGSharonG Posts: 4Questions: 0Answers: 0
    Thank you so much!

    Sharon
This discussion has been closed.