angular-data-table
angular-data-table copied to clipboard
How to show and hide vertical scrollbar?
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,
Why not create another table for the print? Probably should look into why its not updating the scroll on change.