Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Enforcing identical output when printing grid.
posted

Hi,

I have a question regarding printing grid using an InfragisticsGridDocument exporter. When I export my grid using that, the column width on my grid and the equivalent column width on the report doesn't match (they're not even proprotional).  On my grid, I disable word wrap, any text that extends beyond the width of the cell will not be seen. However, when I export a grid, there's word wrap in the printout using the gridDocument exporter.

I'm new to using the GridDocument exporter, is there way we can set the margin and such for each column on the grid?  What about font sizes?

 

 

  • 469350
    Suggested Answer
    Offline posted

    The UltraGridDocumentExporter has an AutoSize property which defaults to autosizing both rows and columns.The idea is that if the column in the on-screen grid is too small, the user can scroll or resize the column. But they can't do that in a PDF document. So most of the time, you want the columns sized so that everything is visible in the document.

    In your case,  you probably just need to turn if off.