PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Keep the same alternating rows style rule when page break
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3014
Page 1 of 1

Author:  centravanti [ Tue Dec 16, 2014 9:36 am ]
Post subject:  Keep the same alternating rows style rule when page break

Hi,
I have a table with lots of number of rows with shading on even rows. The problem is when the page is break in odd row, the next even row will be the first row on the next page which is an odd row in the following page thus, making the styles on the next page is wrong [odd rows will have shading instead of even rows].

Does anyone have an idea how to solve this?
Thanks!

Author:  Thomas Hoevel [ Wed Dec 17, 2014 8:57 am ]
Post subject:  Re: Keep the same alternating rows style rule when page brea

Hi!

A bit of a hack: there is a flag (KeepWith) that can be set for rows. Set it to 1 for all odd rows that are followed by another row and you will never have an even row as the first row on a new page.

Author:  centravanti [ Fri Jan 09, 2015 7:11 am ]
Post subject:  Re: Keep the same alternating rows style rule when page brea

Thomas Hoevel wrote:
Hi!

A bit of a hack: there is a flag (KeepWith) that can be set for rows. Set it to 1 for all odd rows that are followed by another row and you will never have an even row as the first row on a new page.


Nice, it works! Thanks!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/