Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Columns undefined is not a function #384

Closed
MohamedYakout opened this issue Jul 23, 2015 · 5 comments
Closed

Fixed Columns undefined is not a function #384

MohamedYakout opened this issue Jul 23, 2015 · 5 comments

Comments

@MohamedYakout
Copy link

I got this error undefined is not a function through using fixed column, when I add the following option to dtOptions:

.withFixedColumns({
        leftColumns: 1
    });

For more details I asked this Question on stackoverflow, but no correct answer ?

@l-lin
Copy link
Owner

l-lin commented Jul 24, 2015

You forgot to add the dataTables.fixedColumns.js file.

@MohamedYakout
Copy link
Author

@l-lin Thanks, it's working now 👍

@MohamedYakout
Copy link
Author

Including dataTables.fixedColumns.js from FixedColumns is solution

@maikelf
Copy link

maikelf commented Sep 29, 2015

I have the same error and i have include dataTables.fixedColumns.js and not fix my error

@allanelder
Copy link

allanelder commented Aug 19, 2016

+1 for me; including dataTables.fixedColumns.js doesn't fix; I get a Object doesn't support property or method 'withFixedColumns' error.

I can fix the 1st row / 1st column by doing:

        .withOption("fixedColumns", true)
        .withOption("fixedRows", true)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants