This is a migrated thread and some comments may be shown as answers.

Crosstab Table grows past the page to the right adding blank pages to my report

2 Answers 207 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 08 Dec 2017, 06:09 PM

I have a crosstab table with an unknown number of rows and columns, and my reports are ending up with blank pages because the crosstab table grows off the page to the right.

Is there any way to limit the number of columns per page in a crosstab table?

I have read the article, How to: Create Multi-Column Report - Across the Page and Then Down, but the steps aren't working for my crosstab table. I can make it work for regular tables and list items, but not crosstab tables.

Is there anything I can do to prevent the blank pages from being added to my report?

Thanks!

Ps. I asked a very similar question 18 months ago, and Stef suggested using a custom PageSettings' PaperKind and PaperSize. Unfortunately, I only have access to the standalone Report Designer, and I don't seem to have access to those fields. Maybe there's something I'm missing?


2 Answers, 1 is accepted

Sort by
0
Argie
Top achievements
Rank 1
answered on 11 Dec 2018, 05:44 AM
Hello, I encountered the same problem, is it solved already?
0
Todor
Telerik team
answered on 13 Dec 2018, 04:35 PM
Hi,

You may use Column Grouping in the Crosstab so that each group contains number of columns that can fit on a single page. Note that starting with Telerik Reporting R2 2018 (12.1.18.516) Table/Crosstab items support page breaks before and/or after each TableGroup instance. This is supported in both horizontal and vertical direction and is controlled using the TableGroup.PageBreak property. More information can be found in Understanding Pagination article.

The solutions suggested by Stef in Tall and Wide table causing extra pages in report forum post are also valid. The PaperKind and PaperSize properties can be modified in the Standalone designer - check the attached screenshot.

Regards,
Todor
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Argie
Top achievements
Rank 1
Todor
Telerik team
Share this question
or