Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uncaught ReferenceError: FixedColumns is not defined

I'm following the examples to use FixedColumns.

var oTable4 = $('#example').dataTable( {
            "sScrollY": "300px",
            "sScrollX": "100%",
            "sScrollXInner": "150%",
            "bScrollCollapse": true,
            "bPaginate": false
        } );
        new FixedColumns( oTable4 );

I get the following error which means I've made some error initializing it...

Uncaught ReferenceError: FixedColumns is not defined 

Is FixedColumn a seperate plugin?

I'm using jQuery 1.9.1.

like image 354
cray088 Avatar asked Feb 20 '26 08:02

cray088


1 Answers

FixedColumns is listed as plugin on their download page .

So depending if you have a full featured build or not you would need to load the js file for FixedColumns separate (is included in the extras director of the dataTables zip file)

like image 156
t.niese Avatar answered Feb 22 '26 21:02

t.niese