Having a tought time getting any plug-ins or extras to work

Having a tought time getting any plug-ins or extras to work

ebergereberger Posts: 4Questions: 0Answers: 0
edited November 2012 in General
I'm a novice programmer who has had some luck using the basic initialization of DataTables but now I want to play around with some of plugins/extras. I've been banging my head against the wall to get anything to really work on my dev Xampp server.

Here I am just trying to use Datatables Live to get fixed headers on the test data: http://live.datatables.net/oroval/4/edit#source

I included FixedHeader js using the include dropdown and I used the exact Example initialization code from: http://datatables.net/extras/fixedheader/ but when I go to Render this my headers aren't fixed to the top like they are on the example.

What am I missing?

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    The Javascript loading order. jQuery needs to be loaded first. If you look in the console in your browser, you'd see an error.

    Here it is working: http://live.datatables.net/oroval/5/edit

    Allan
  • ebergereberger Posts: 4Questions: 0Answers: 0
    Thanks Allan. I see it now. When I used the "Include" drop-down to select the Extra it just placed it in that order and I wrongfully assumed that it would place it correctly.
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Yeah - it looks like a bug :-(. I'll check it out. Thanks

    Allan
This discussion has been closed.