Remove horizontal scrollbar under fixed columns

Remove horizontal scrollbar under fixed columns

watevahwatevah Posts: 4Questions: 1Answers: 0

I'm combining a complex header and fixed columns:
1) complex header: https://datatables.net/examples/basic_init/complex_header.html
2) fixed columns: https://datatables.net/extensions/fixedcolumns/examples/initialisation/left_right_columns.html
It works fine but is there a way to remove the scrollbar from the fixed header columns? I've outlined the bit I'd like to remove.

Basically, I want to make it like this: https://jsfiddle.net/brianlmerritt/8c5jgs4b/ but with DataTables and complex header.
Here's my own fiddle: https://jsfiddle.net/omgLswq6/151/

This question has an accepted answers - jump to answer

Answers

  • watevahwatevah Posts: 4Questions: 1Answers: 0

    Still need help with this.

  • watevahwatevah Posts: 4Questions: 1Answers: 0

    If not possible maybe there's an alternative solution at least?

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @watevah ,

    You can tweak it in the CSS as suggested in this SO thread. The result is something this (a modification of your fiddle) - it needs some work on the right-hand side but hopefully it'll get you going.

    Cheers,

    Colin

  • watevahwatevah Posts: 4Questions: 1Answers: 0
    edited August 2018

    @colin
    Thank you, that'll definitely get me going!

This discussion has been closed.