Fixed header and Hiding Column Properties Together Problem
Fixed header and Hiding Column Properties Together Problem
Hello my friends;
I have used datatable two properties together. These are fixed header and hiding column. Separetely, these are working properly. But, together not working. For example;
Let; Col0, Col1, Col2 are my datatable columns.
Then;
{
"targets": 2,
"visible": false//i mean that i do not want to show Col2
}.
Normally, when fixed header not active, visible=false is fine. But, if fixed header is active, col2 is showing.
Any ideas?
Thanks.
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
This question has an accepted answers - jump to answer
Answers
What you described seems to work here:
http://live.datatables.net/wiqelema/1/edit
Make sure you have the proper Datatables and fixedHeader CSS and JS installed if you are using a styling framework. In order to help we will need a link to your page or a test case showing the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin