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

Table Problem

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abdurrahman Battal
Top achievements
Rank 1
Abdurrahman Battal asked on 23 Dec 2009, 02:34 PM
Hi,

I want to create a very simple report using a table and business object databinding. All I want is to have borders around the header and details, as can be seen from attached.

When I create a table, using the wizard, and put into the Detail section the header row of the table is repeated per detail line in my datasource. Without a table the report is fine, except for the borders.

Where should I put the table? The Detail section, Report Header? Any sample projects that you can send? I could not find anything in the demos section.

Thanks

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 29 Dec 2009, 09:26 AM
Hello Abdurrahman Battal,

Please excuse us for the late response.

If you have specified a data source to your Report, the Table report item in the detail section will be repeated for each record of that data source. To avoid this you should not specify any data source for the main report, you should pass that data source to the Table instead. Simply put, you can treat the Table item as a separate data island within your Report which has its own data source. Please examine the Product Sales report from our samples for a guidance. It uses a Crosstab instead of a Table, but the concept is the same.

Happy Holidays!

Sincerely yours,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Abdurrahman Battal
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or