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

How to set column header in multi-column reports

5 Answers 229 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sudkanung
Top achievements
Rank 1
Sudkanung asked on 27 Sep 2012, 04:18 AM

I using multi-column in telerik reporting but result not same as my imaging.
I have 1 group (group by username) 
This is result form multi-column reports

Mary Jane              4          2.4         9          2.5
No.       KG.            5          2.6              
1          2.5             6          2.5        
2          2.8             7          2.3         
3          2.3             8          2.7       

But I want report look like this.

Mary Jane
No.       KG.            No.       KG.        No.       KG.        
1          2.5             4          2.4         7          2.3
2          2.8             5          2.6         8          2.7
3          2.3             6          2.5         9          2.5

What should I do?

5 Answers, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 29 Sep 2012, 08:14 AM
If you want 3 columns, filled across-then-down:
1  2  3
4  5  6
7  8  9
then you can do that with a crosstab. Look at this thread: http://www.telerik.com/community/forums/reporting/telerik-reporting/how-to-show-detail-data-to-across-then-down.aspx

If you want to have 3 columns evenly filled down-then-across:
1   4   7
2   5   8
3   6   9
then you cannot achieve that unless you make sure that only 3 items will fit in the height of the page and use the built-in multi-column functionality.


0
Sudkanung
Top achievements
Rank 1
answered on 01 Oct 2012, 03:32 AM
No I want report down then across but I want heading of column show in every column.
And multi-column report can't using with report viewer but I want to show data before print how I can do?(Now I sending data to printer directly.)
0
Steve
Telerik team
answered on 03 Oct 2012, 10:57 AM
Hi Sudkanung,

In multi-column report layout, the Report header and group header sections span the width of the column, so if you have a group that continues on several logical pages/columns, the group header would be displayed only on the first column.

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!

0
Sudkanung
Top achievements
Rank 1
answered on 04 Oct 2012, 02:05 AM
Now I set 2 group first group is group by user and set PrintOnEveryPage=true
and second group is no grouping and set PrintOnEveryPage=true
result is like this :
Mary Jane              Mary Jane          Mary Jane
No.       KG.            No.       KG.        No.       KG.        
1          2.5             4          2.4         7          2.3
2          2.8             5          2.6         8          2.7
3          2.3             6          2.5         9          2.5

and if I change PrintOnEveryPage=false for first group(second group is PrintOnEveryPage=true)
then result is change like this :
Mary Jane              No.       KG.        No.       KG.  
No.       KG.            4          2.4         8          2.7         
1          2.5             5          2.6         9          2.5
2          2.8             6          2.5         
3          2.3             7          2.3        

0
Steve
Telerik team
answered on 08 Oct 2012, 03:24 PM
Hi Sudkanung,

The behavior you describe is by design and expected as per our previous reply. Since Mary Jane is a group header, it cannot span over the other columns.

Kind regards,
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
Sudkanung
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Sudkanung
Top achievements
Rank 1
Steve
Telerik team
Share this question
or