Responsive 3.0.3 and complex header
Responsive 3.0.3 and complex header
ronando
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
Use
columns.visible
: https://live.datatables.net/gopehuyo/2/edit .Allan
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
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
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 :
Right enough - I missed that. Sorry, that's a bug. Added to the list.
Allan
Thanks Allan. is there a way to be warn that's the bug is resolve ?
I'll post back in this thread.
Allan