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
75
Printing
posted

I have problems with the printing.

My grid

The print preview

The problems:
- first row is grey (no data)
- DataFilter doesn't  work
- wrong column size

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    moon80 said:
    - first row is grey (no data)

    I don't have any idea why that's happening. Can you duplicate this in a small sample project?

    moon80 said:
    - DataFilter doesn't  work

    Make sure when you call PrintPreview that you pass in the right flags to copy the grid settings over to the Print Layout. You might also need to re-apply the DataFilter to the print layout in the InitializePrintPreview event - I'm not sure if the grid is able to copy the editor from one layout to another.

    moon80 said:
    - wrong column size

    The printer uses different drawing units than the screen. It's usually a good idea to autosize the column in the print layout in the InitializePrintPreview event.

Children
No Data