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…

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:
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.
Another great feature of TX Text Control X15 - stay tuned for more.
Also See
This post references the following in the documentation:
- TXText
Control. Paragraph Format. Keep With Next Property - TXText
Control. Paragraph Format. Page Break Before Property
Jump to the other posts in this series:
- Sneak Peek X15: UI Automation Interface for TX Text Control .NET for WPF
- Sneak Peek X15: Watermarks and Objects in Headers and Footers Behind the Main Text
- Sneak Peek X15: Ribbon Chart Layout Tab
- Sneak Peek X15: Custom Field Overlays in HTML5-based Text Control
- Sneak Peek X15: Copy to Local Clipboard Support in ASP.NET Version
- Sneak Peek X15: Contextual Chart Ribbon Tabs
- Sneak Peek X15: Add Formatting Using the Mini Toolbar
- Sneak Peek X15: Keeping Table Rows Together
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.
- Angular
- Blazor
- React
- JavaScript
- ASP.NET MVC, ASP.NET Core, and WebForms
Related Posts
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…
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…
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…
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…
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…