Datatable header is missing when using scrollx function?

Datatable header is missing when using scrollx function?

nickolojonnickolojon Posts: 20Questions: 0Answers: 0
edited January 2012 in General
Hi, can you please help me with this problem, I created the datable this way
$('#example').dataTable({
"sPaginationType": "full_numbers",
"bSort": false,
"sScrollX": "100%",
"sScrollXInner": "110%",
"bScrollCollapse": true,
"sDom": "ltipr"
}).columnFilter();

The table header is showing when i'm not using the sScrollX, sScrollXInner and bScrollCollapse. I need to use those to show a horizontal scroll function because the number of columns that the table will show depends on the settings of the user,
but when I use those 3, my header is missing.

Replies

  • nickolojonnickolojon Posts: 20Questions: 0Answers: 0
    By the way, i'm also using the column filter if that helps you to analyze the problem.. thanks in advance
  • dbludblu Posts: 11Questions: 0Answers: 0
    Using Column filtering with scrolling breaks the filtering. Something about it has to tables. Makes sense but frustrating. I need the filtering on each column, so I can't use scrollx.

    Wondering if it is fixed. Last time I checked was 6 months ago. So that is my input.

    I can say that setting this: "bAutoWidth": false fixed some column width issues I was having. I also use show/hide columns so I have a lot going on also.
This discussion has been closed.