Products Technologies Demo Docs Blog Support Company

Sneak Peek X15: Keeping Table Rows Together

A unique advantage of Flow Type Layout Reporting is the possibility to control the layout using typical word processing rules and constraints. TX Text Control combines a word processor with powerful reporting functionality. Paragraphs have attributes that control the flow and behavior when breaking across pages. Pagination is done automatically in TX Text Control, but can be controlled finely tuned. It is possible to keep paragraphs together, so that they are rendered on the same page and if…

Sneak Peek X15: Keeping Table Rows Together

A unique advantage of Flow Type Layout Reporting is the possibility to control the layout using typical word processing rules and constraints. TX Text Control combines a word processor with powerful reporting functionality. Paragraphs have attributes that control the flow and behavior when breaking across pages. Pagination is done automatically in TX Text Control, but can be controlled finely tuned.

It is possible to keep paragraphs together, so that they are rendered on the same page and if there is not enough space on a page, they are shifted to the next page. This can be adjusted programmatically or using the paragraph dialog which is shown in the screenshot below:

Sneak Peek X15: Keeping table rows together

In version X15, these settings can be applied to paragraphs in tables as well. The setting of the first paragraph in a table row (first cell) is used to control the table row behavior. Using this setting, table rows can be kept together (Keep with next) or a page break can be inserted before (Page break before) which causes the table to be split at the paragraph location.

Consider a table that shows the sub total, taxes, freight and total due on an invoice. This table block should be rendered at the end of an invoice, but should not be divided at a page break. In this case, all 4 rows can be kept together, so that the complete table is rendered on the next page, if there is not enough space on the previous page.

Sneak Peek X15: Keeping table rows together

Another great feature of TX Text Control X15 - stay tuned for more.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Also See

This post references the following in the documentation:

  • TXTextControl.ParagraphFormat.KeepWithNext Property
  • TXTextControl.ParagraphFormat.PageBreakBefore Property

ASP.NET

Integrate document processing into your applications to create documents such as PDFs and MS Word documents, including client-side document editing, viewing, and electronic signatures.

ASP.NET Core
Angular
Blazor
JavaScript
React
  • Angular
  • Blazor
  • React
  • JavaScript
  • ASP.NET MVC, ASP.NET Core, and WebForms

Learn more Trial token Download trial

Related Posts

ASP.NETWindows FormsWPF

TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 3 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…


ASP.NETWindows FormsWPF

TX Text Control 33.0 SP2 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 2 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…


ActiveXASP.NETWindows Forms

Service Pack Releases: What's New in TX Text Control 33.0 SP1 and 32.0 SP5

TX Text Control 33.0 Service Pack 1 and TX Text Control 32.0 Service Pack 5 have been released, providing important updates and bug fixes across platforms. These service packs improve the…


ASP.NETWindows FormsWPF

The Wait is Over: TX Text Control for Linux is Officially Here

We are very excited to announce the release of TX Text Control 33.0 which includes the long awaited Linux version of TX Text Control. This version allows you to integrate TX Text Control into your…


ASP.NETWindows FormsWPF

Full .NET 9 Support in Text Control .NET Components for ASP.NET Core,…

.NET 9 will be launched tomorrow, November 12, at the .NET Conf 2024 with updates to cloud capabilities, security, and performance. TX Text Control .NET components are fully compatible with .NET 9…