Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 250 - RepeatingRegion Class  (Read 553 times)
Reuben B.
Four Js
Posts: 1114


« on: October 09, 2024, 02:14:48 am »

A technique to better read values across rows when there are many columns is to render alternate rows with a different background color.  In Genero screens, this can be achieved with the alternateRows Presentation Style attribute.  In printing, this was historically achieved with the iconic green bar paper.  With more modern printers using blank A4 paper, this would mean using ink to render the different background colors and fell out of fashion.  In today’s world, reports are rarely physically printed out on paper and more typically viewed on screen, and so the requirement to print alternate rows with a different background color is back in fashion.
 
A new class RepeatingRegion was added to Genero Report Writer 5.00 that keeps a counter of regions that repeat and can be used to render alternate rows with a different background color.

Read more at https://4js.com/ask-reuben/ig-250/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines