Hi all,
I am using the ColVis extension, but the amount of columns is too long and goes beyond the page vertically. Is there a scroll bar that can be added to this extension, so users can select the columns currently off page?
Thanks,
Kelly
I have identified that this is an issue in IE10 and sooner. IE11 will allow the page to push down. Anyone else experience this, have recommendations?
I have added a scroll bar with two modifies
1) 'overflowY' : 'auto' in dataTables.colVis.js > "_fnDomCollection": function ()
"_fnDomCollection": function () { return $('<ul />', { 'class': !this.s.dt.bJUI ? "ColVis_collection" : "ColVis_collection ui-buttonset ui-buttonset-multi" } ) .css( { 'overflowY' : 'auto', 'display': 'none', 'opacity': 0, 'position': ! this.s.bCssPosition ? 'absolute' : '' } )[0]; },
2) height: 300px; in dataTables.colVis.js > ul.ColVis_collection class
ul.ColVis_collection { height: 300px; width: 150px; padding: 8px 8px 4px 8px; margin: 0; ... }
If there is a best way, I'd like to know it.
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
I have identified that this is an issue in IE10 and sooner. IE11 will allow the page to push down. Anyone else experience this, have recommendations?
I have added a scroll bar with two modifies
1) 'overflowY' : 'auto' in dataTables.colVis.js > "_fnDomCollection": function ()
2) height: 300px; in dataTables.colVis.js > ul.ColVis_collection class
If there is a best way, I'd like to know it.