Re: [PythonReports-users] Alternate line background
Brought to you by:
a1s
From: Werner F. B. <wer...@fr...> - 2012-12-29 10:35:46
|
Hi Alex, On 28/12/2012 19:35, alexander smishlajev wrote: > Werner F. Bruhin wrote, at 28.12.2012 20:12: >> Another question, I like to have every alternate detail line with a >> different background, to help reading the report. >> >> I copied "Style 23" on the detail band in sakila.prt, i.e. setting a >> bgcolor of my choice and in when I have "PAGE_COUNT % 2", I also tried >> with "ITEM_NUMBER % 2". >> >> But neither in Preview nor when Printing is my bgcolor showing. >> >> Is there something else I need to set? > I don't think so. > > Alternate background colours in sakila.prt are yet another thing meant > for demonstration purposes. Needed to add a rectangle to make it work. First thought it was columns, but then saw that there was a rectangle on the detail which didn't show, it seems to be this which makes it work. Maybe add a "how to" section to the doc or have things like this on the wiki? BTW, I can't move items, i.e. adding the rectangle after my other fields nothing, except the background, showed. Wanted to move it up/down but nothing happens - probably due to the change the split up things. Will try and look into this later today. Werner |