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 have no idea how this would/whether this should be implemented but thought I would throw it in the ideas pile.
At the moment I use http://bootstrap-switch.org/ to create a really nice show/hide column filter. Basically I include a template above my table that looks something like this:
$('#column-1-switch').on('switch-change',function (e, data) {
var value = data.value;
changeColumnVisibility(0, value);
}).bootstrapSwitch('setState', true);
$('#column-2-switch').on('switch-change',function (e, data) {
var value = data.value;
changeColumnVisibility(1, value);
}).bootstrapSwitch('setState', true);
Which basically lets the user turn on/off the visibility of the column. I guess something along these lines as an optional templatetag would be handy i.e. {% datatableview_columnvisibility %}
The text was updated successfully, but these errors were encountered:
I have no idea how this would/whether this should be implemented but thought I would throw it in the ideas pile.
At the moment I use http://bootstrap-switch.org/ to create a really nice show/hide column filter. Basically I include a template above my table that looks something like this:
Then I have in my js:
Which basically lets the user turn on/off the visibility of the column. I guess something along these lines as an optional templatetag would be handy i.e. {% datatableview_columnvisibility %}
The text was updated successfully, but these errors were encountered: