News combit Dev Blog

Infinite Pages for HTML and XLS Export

Posted: Thursday, July 25, 2019 | 0 comment(s)
 
This is another of those "huh, you didn't have that before" features. As a WYSIWYG layout oriented reporting tool, the page has always been king for List & Label. While this is nice in many circumstances, when it comes to reporting for the web or XLS and printing is not planned at all, the result can be unwanted although looking beautiful.

The pagination for XHTML is nice and handy, it also has advantages when viewing the first page while the others are generated in the background. However - instead of a paginated report an infinite page has distinct advantages when viewing the result in the browser, especially if the number of records (and thus the length of the browser "page") is limited but more than one "page".

To demonstrate the feature, let's switch our demo application to print just 5 article/item records using Options > Settings:


Slightly off-topic, this is great for permormance testing. You can set any number of records here and can produce really heavy loads on the print engine this way. But back on-topic, the result of the XHTML export then is one file with two "pages":



Undoubtedly, it would be much better to have just one result page containing all five records. Enter the new infinite page export in LL25. The XHTML export (and also the XLS export) has a new option for that in its settings:

 

Of course you can also set this programmatically via the usual LlXSetParameter() call or LL.ExportOptions.Add, depending on which part of the LL universe you're living in. The result is then as required and probably expected:


Small change – huge effect.




Author: Jochen Bartlau
Head of Development List & Label

Jochen Bartlau leads the development at combit as Managing Director. He's a Microsoft .NET enthusiast driving innovation & agile project management. The mobile devices geek who used to be a physicist in his first life loves to spend his spare time with his family.


  

+1 800 256 3608 (toll-free North America only)