How to print elements inside popup

I am trying to print elements inside a popup. The JavaScript I am using perfectly prints if the element is in main body but comes up as blank if it is in popup

Thanks for bringing that to the community.

When you say print, do you mean on a physical printer? Can you share more of your use case here with us?

I’d try and export the information with a Export Button on a table and then print the CSV file.