Responsive 3.0.3 and complex header

Responsive 3.0.3 and complex header

ronandoronando Posts: 4Questions: 1Answers: 0

Link to test case:
https://live.datatables.net/gopehuyo/1/edit

Description of problem:
in the test case i want to hide the first column "first name" so i add the class "none"

<th class="none">First name</th>

And now the problem is that's the column header "Name" is not visible
The column "HR" start to early

Can you help me with thats

Thanks

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
  • ronandoronando Posts: 4Questions: 1Answers: 0
    edited October 7

    Thanks Allan,

    sorry if my question is not precise enough but I wanted the "first name" column to be visible only when you click on the arrow

    with visible: false she's always hidden

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    That isn't directly possible at the moment I'm afraid. You could try columns.responsivePriority and set it to a high number: https://live.datatables.net/gopehuyo/4/edit .

    That would mean that if any column gets hidden, then that one goes first.

    Allan

  • ronandoronando Posts: 4Questions: 1Answers: 0

    ok thanks but in your testcase when the column first name is hidden (as expected) the header is wrong

    Column "Name Column??" is not visible :

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    Answer ✓

    Right enough - I missed that. Sorry, that's a bug. Added to the list.

    Allan

  • ronandoronando Posts: 4Questions: 1Answers: 0

    Thanks Allan. is there a way to be warn that's the bug is resolve ?

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    Answer ✓

    I'll post back in this thread.

    Allan

Sign In or Register to comment.