Error with fixed columns

Error with fixed columns

Bindrid2Bindrid2 Posts: 79Questions: 4Answers: 12

I have 5 tables on a page set up with inline editor features.
Two are small so fixedColumns: false.
Two are wide so fixedColumns: true

with fixed columns 3.2.5 it works fine with all tables.
with 3.3.0 i get "node is not a function" in this bit of code in the tables that fixedColumns are turned off on.

DataTable.Api.registerPlural( 'cells().fixedNodes()', 'cell().fixedNode()', function () {
    return this.iterator( 'cell', function ( settings, row, column ) {
        return settings._oFixedColumns
            ? settings._oFixedColumns.fnToFixedNode( row, column )
            : this.node();  // <-----------------------------------------------------------
    }, 1 );
} );

here is my bundler list:
"scripts/datatables-1.10.20/datatables-1.10.20/js/jquery.datatables.js",
"scripts/datatables-1.10.20/datatables-1.10.20/js/datatables.bootstrap4.js",
"scripts/datatables-1.10.20/select-1.3.1/js/datatables.select.js",
"scripts/datatables-1.10.20/buttons-1.6.1/js/datatables.buttons.js",
"scripts/datatables-1.10.20/buttons-1.6.1/js/buttons.bs4.primary-sm.js",
"scripts/datatables-1.10.20/local.datatables.js",
"scripts/datatables-1.10.20/scroller-2.0.1/js/datatables.scroller.min.js",
"scripts/datatables-1.10.20/scroller-2.0.1/js/scroller.resizer.js",
"scripts/datatables-1.10.20/FixedColumns-3.3.0/js/dataTables.fixedColumns.js",
"scripts/datatables-1.10.20/keytable-2.5.1/js/datatables.keytable.js",
"scripts/datatables-1.10.20/editor-1.9.2/js/datatables.editor.js",
"scripts/datatables-1.10.20/editor-1.9.2/js/editor.bootstrap4.js",

Thanks, Scott

Answers

  • colincolin Posts: 15,177Questions: 1Answers: 2,590

    Hi @Bindrid2 ,

    I tried here, and I can't reproduce that error. Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.

    Cheers,

    Colin

This discussion has been closed.