FixedColumns.js nightly = no diff in v.1.8.1

FixedColumns.js nightly = no diff in v.1.8.1

GustGust Posts: 17Questions: 0Answers: 0
edited June 2011 in DataTables 1.8
Hello Allan,

In the release note it write :

FixedColumns:
If you are using multiple rows in your thead or tfoot elements, the handling for this has changed for DataTables 1.8, and this has a knock on effect on the FixedColumns extra. Please update to the latest nightly of FixedColumns.

http://www.datatables.net/upgrade/1.8

But there is not seems to have any diffrence between file in the zip or the one I got from this URL :

http://www.datatables.net/download/build/FixedColumns.nightly.js

I maybe used a wrong URL since I guess the URL to get the file it because there is not direct link on all the files of the nigthly build...

Thanks

Gust

Replies

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin
    edited June 2011
    FixedColumns has now been updated and released for the changes in DataTables 1.8, and the update was included in DataTables 1.8.1. So the upgrade notes should say to use 2.0.1 or newer. I've just updated to notes to say that.

    Allan
  • GustGust Posts: 17Questions: 0Answers: 0
    Does the initialisation still the same??



    $(document).ready( function () {
    var oTable = $('.display').dataTable( {
    "bJQueryUI": true,
    "bAutoWidth": false,
    "bScrollInfinite": true,
    "sScrollY": "300px",
    "sScrollX": "100%",
    "bPaginate": false,
    "bProcessing": true,
    "bSortClasses" : false,
    "oLanguage": {
    "sSearch": "Search:"
    },
    } );
    new FixedColumns( oTable, {
    "columns": 1
    } );
    } );


    When I change columns : 1 for :

    new FixedColumns( oTable, {
    "columns": 2
    } );

    It still use only one column?

    Gust
  • GustGust Posts: 17Questions: 0Answers: 0
    "iLeftColumns": 2
  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin
    The "columns" initialisation option was something from FixedColumns 1 - can you try using iLeftColumns ( http://datatables.net/docs/FixedColumns/2.0.1/FixedColumns.defaults.html#iLeftColumns_details ) please? Here is an example of it working: http://datatables.net/release-datatables/extras/FixedColumns/two_columns.html

    Allan
  • GustGust Posts: 17Questions: 0Answers: 0
    It works with "iLeftColumns": 2...

    Thank you Allan for the good work.

    Gust
This discussion has been closed.