2

I'm attempting to use the jquery datatables plugin and following the FixedColumns example but I'm getting the error Error: ReferenceError: FixedColumns is not defined Line: 64. I'm trying to make the leftmost column fixed so while you scroll horizontally you can still see the first column.

I have set up an example in jsbin that shows the error. Is FixedColumns a separate plugin to download? I couldn't find it if it is. Anyone able to explain why my code isn't working?

0

1 Answer 1

3

That FixedColumns plugin needs some update, browser console currently reports

TypeError: $.browser is undefined @ http://www.datatables.net/release-datatables/extras/FixedColumns/media/js/FixedColumns.js:99;

$.browser was removed from jQuery 1.9, so you can either use jQuery 1.8.3 instead: http://jsbin.com/uziwin/4/edit

or add the browser detection back to jQuery 1.9+ with some additional plugin: https://github.com/mattberg/jquery-browser ; http://jsbin.com/uziwin/11/edit

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.