print content of dialog with scrollbar

print content of dialog with scrollbar

Hello

So I instantiate a new jquery ui dialog window with specified height where the content causes the scrollbar to appear. I have a print button within the dialog window that's meant to print all the content in the dialog window.

It currently only prints the rows that are visible.

Any ideas as to how i can print the whole lot?

Thanks!
Lance