DataTables logo DataTables

via Ad Packs
[Solved] Impossible to get column sort working
  • theocritetheocrite
    Posts: 2
    Hi there !

    I'm having quite a big issue using datatables with ajax sources, and I'd like to use FixedHeader extra plugin.

    The datatable is set and get data, everything works fine without FixedHeader.

    The problem is : when I use Fixed Header [ new FixedHeader( oTable , { "top": true, "offsetTop": 28 } ); ], the header is fixed, but I don't have any sort control, nothing is changing on click on the th...

    I have been working on this matter for a few hours but can't find what to do to fix this.

    I also noticed that th do not fit well with column size using FixedHeader.

    Please help me :)
  • theocritetheocrite
    Posts: 2
    I solved my problem: I was working in a wordpress plugin, and as I made it wordpress was loading jQuery twice, which, for an unknow reason, did disable sorting on the fixed header clone.

    Then, there still where no icons because of a simple css error.

    Another problem I had is that fixed header had a $ in it, and I had to replace it by jQuery to get everything working.

    Hope it could help !
This discussion has been closed.
← All Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Support

Get useful and friendly help straight from the source.

In this Discussion