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

Mastering last page look (how to make all columns to have similar sizes)

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 05 Oct 2012, 08:54 AM
Hello.
I have created 3 columns report. Each report depending on row count in datasource will have few pages. Very often the last page is not fully filled (for example frst 2 columns are filled and third one is empty). Can I somehow force columns to have similar height?

Maybe i could create a section which will be shown just on last page and have width of whole page and dynamic height? Is it possible?

I will appreciate any help

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 Oct 2012, 04:42 PM
Hello Michal,

When using the multi-column feature of the report, the columns actually represent the separate pages of the report, which are treated as logical pages rendered on the same physical page. Columns are arranged from left to right, top to bottom, and are separated by white space between each, and data flow in the columns is top to bottom, left to right. If the report is divided into more than one column, each physical page is divided vertically into columns, each of which is considered a logical page. The easiest way to visualize this is imagining the columns in a newspaper. So the end result you describe is by design and you cannot force the report to generate a new page or span an existing page to the bottom, as this happens only when you have appropriate data i.e. the report is data driven.

One way to handle such a scenario would be to use the CrossTab item instead. The idea is to do the CrossTab grouping by a criteria that will always return equal number of columns. This is accomplished by using "Id % X" and "Id / X" where X = number of columns and Id is consequential numbering (1, 2, 3, ....)

Greetings,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Michal
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or