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
1210
UltraGridPrintDocument and CellPadding
posted

Hello,

I am printing grid content using the UltraGridPrintDocument. This works as expected, except setting CellPadding seems to be ignored when printing.

I am setting CellPadding to zero in both AfterInitializeLayout and in InitializePrint. It works on the screen but not in the output.

Any way to get this to work?

Thanks,

Trausti

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Trausti,

    With a value of 0, how can you tell it's not working? 0 padding is pretty close to the default, so this would be a pretty subtle difference.

    I tried this out using a CellPadding of 10, just so it's plainly obvious whether the padding is being printed or not and it works just fine for me. I have attached my sample here so you can try it out.

    MemDataTable CS 2008.zip
Children