So far we been working with reports and exploring a couple of options on how to group data, customize dialogs and so on, but we never talk about printing. While there isn’t much to say about printing when it comes to standard reports, I mean, you execute the report, press print and you are pretty much set. When it comes to complex reports, we have a couple of options. In this post I’m going to talk about page breaks and how they behave in reports that contain grouped data. Continuing with the categories and products example, we want to print each category in her own page (a group per page) this means that we need a page break after each group of data. By default, NRapid will not going to add page breaks after groups, because internally doesn’t knows what a group is. It just going to emit standard html based on the default style sheet or the specified raw style. The easiest way to insert page breaks, is by building the report using the “table per group” approach, and
There are two hard things in computer science: cache invalidation,
naming things, and off-by-one errors.