Responsive DataTable - Have "automatic column hiding" apply to all th columns in thead

Responsive DataTable - Have "automatic column hiding" apply to all th columns in thead

ficuscrficuscr Posts: 2Questions: 1Answers: 0

I'm really liking the new features of 1.10 and how backward compatibility has been largely maintained. I'm leveraging the nice 1.10 responsive behavior with Bootstrap while continuing to use the old columnFilter and my existing server-side 'sAjaxSource' code. I took a look at new column filters and was not too impressed, also limited on time to refactor this.

The main annoyance I am dealing with now is that when re-sizing the table the column headers are hidden, but the filters remain.

Trying to get the column-visibility.dt callback to fire and having no luck. Any suggestions on the overall approach here? Thanks.

Answers

  • ficuscrficuscr Posts: 2Questions: 1Answers: 0
    edited February 2016

    Finding it strange that column-visibility callback does not fire when the column is hidden as a result of the responsive behavior. I assume it does not use the column().visible() API? Should it not eat its own dog food?

This discussion has been closed.