Problem hiding column.
Problem hiding column.
flyingdogmd
Posts: 2Questions: 1Answers: 0
Hi All,
I'm having some troubles hiding a column and I'm looking for some advice. What I've noticed is that the column is hidden before my ajax data source loads (during processing) but appears again after loading.
I've tried using both columnDefs:
"columnDefs": [{ "visible": false, "targets": 0 }]
And column:
"columns": [{ "visible": false, "data": "ColumnName" }
But still no resolve. Has anyone else had this problem by chance?
This discussion has been closed.
Answers
Your syntax is wrong. Check the examples (e.g. columnDefs, http://datatables.net/examples/basic_init/hidden_columns.html )
Thank you so much for the quick response. I've fixed that but it doesn't appear to have fixed the problem. How's this look?
Hello,
Thanks you for this amazing plugin.
However, I am facing the same issue as flyingdogmd.
I would like to hide the 1st column (id) but this is not working with the following code:
Any idea how to solve this issue ?