Custom Visualization - Dynamic print container size

Hello,

I have a custom visualization serving up a MUI Datagrid as a requirement. This works great and we’re able to access it’s features like paging, searching, etc.

However, when we go to print in a PDF view, we are leveraging the “print” setting in the vis details to display all rows in the table. We can’t find a good way to dynamically set the size of the container to allow for all the rows to show. It appears to be set to a fixed height. (see below for an example).

9cb664c0-ee38-47e6-a56a-5a61c0201595.png

Is there a way to dynamically set the print PDF container size? Or allow the container to be more “fluid” to its contents?


Thank you!

0 0 91