angular-data-table icon indicating copy to clipboard operation
angular-data-table copied to clipboard

How to show and hide vertical scrollbar?

Open tsolmonOtsu opened this issue 9 years ago • 1 comments

I need to print a page containing a datatable. If the datatable has a vertical scrollbar, I need to show all rows before printing. But it turns out not an easy task. Changing options.scrollbarV after compilation does not affect the table. Tried adding a separate variable for scrollbarV, and updating options.scrollbarV inside the directive, somehow updates the table, however hidden rows do not appear. Please suggest me a solution.

Thanks,

tsolmonOtsu avatar Sep 04 '15 02:09 tsolmonOtsu

Why not create another table for the print? Probably should look into why its not updating the scroll on change.

amcdnl avatar Sep 09 '15 12:09 amcdnl