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

Multicolumn issue

4 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Morten Louw
Top achievements
Rank 1
Morten Louw asked on 03 Aug 2010, 12:16 PM

Hi,

I am in doubt which approach is the better.

I have a collection of a custom businessobject as datasource on a subreport.
it has two properties. A typetitle and a text. Both strings

Data could be like this.

TypeTitle, Text
TypeExample1, TextExample11
TypeExample1, TextExample12
TypeExample1, TextExample13
TypeExample2, TextExample21
TypeExample2, TextExample22
TypeExample3, TextExample31

I want the report to render as this:

TypeExample1
   TextExample11    TextExample13
   TextExample12

TypeExample2
   TextExample21    TextExample22

TypeExample3
   TextExample31

I tried to look a columns, but it also includes the groupheader.

Is there a simple approach for this, or do I have do a hacked solution with extra subreports etc.

Hope for a quick reponse.

Thanks!
Morten

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 Aug 2010, 10:09 AM
Hi Morten Louw,

We are not sure that we have correctly understood your inquiry, however here is a suggestion: create a Report Group with grouping TypeTitle. In the group header add a TypeTitle and in the detail section add a Text field. To enable multi columns, set the detail's section property ColumnCount to 2. 

Hope this help.

Greetings,
Peter
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Morten Louw
Top achievements
Rank 1
answered on 06 Aug 2010, 10:51 AM
Hi,

Thanks for your reply and sorry if I'm unclear.

I allways want the groupheader to be in the left side of the layout. As I understand the grouping feature, it is put in the columns.

Is that possible? I have considered using reportheader and subreports. It just seems a bit overkill for a rather simple feature.

Looking forward to hear your repsonse.

Kind regards,
Morten :)
0
Steve
Telerik team
answered on 09 Aug 2010, 05:03 PM
Hello Morten Louw,

There is no out of the box way for what you're after - the groupheader as any other report section for that matter would always be present in all columns as this is how the multicolumns feature currently works. Only the page sections (Page Header/Footer) are shown once per page independently of whether it is a multicolumn report or not, but you cannot use data bound fields in them as they are not related to the report itself, but are relative to the margins of the report's media.

Greetings,
Steve
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Morten Louw
Top achievements
Rank 1
answered on 10 Aug 2010, 11:42 AM
Hi again,

The request is specifically from my client, so I will try to make a solution using subreports or something.

Thanks for your responses!

Kind regards,
Morten
Tags
General Discussions
Asked by
Morten Louw
Top achievements
Rank 1
Answers by
Peter
Telerik team
Morten Louw
Top achievements
Rank 1
Steve
Telerik team
Share this question
or