You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is the way datatables.js functions—the columns indeed should appear in the raw source, but the datatables Javascript actually reads the structure and removes those columns itself. They should still be available in its own API.
For example, some people use hidden columns to keep data only on the table for use with the "tabletools" plugin that exports the table to CSV, PDF, etc. Those hidden columns appear on the exports, but not on the traditional UI.
Can you verify that the raw "View Source" shows your columns with a data-visible="false" HTML attribute?
Yes you are right: http://datatables.net/release-datatables/extras/ColVis/exclude_columns.html the columns are not rendered in HTML. I did not figure out how I get the data of the "hidden" columns (maybe just via [aaData]) and it is currently out of my scope, but I will reply as soon as it gets back to my focus. Tnx
Here is my (shortend) dict:
hidden_columns will not render in my templates (I expected hidden td fields). No changes in default_structure.html. Tested with 0.5.4
The text was updated successfully, but these errors were encountered: