Table Report

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Report Designer > Report Designer for WPF > Report Types >

Table Report

Interface Elements for Desktop > Report Designer > Report Designer for WPF > Report Types > Table Report

This tutorial describes how to create a table report, which means that the report's data is arranged into a table-like layout. This feature should not be confused with the master-detail report or cross-tab report.

To create a table report, follow the steps below.

1.Create a new report and bind it to a data source.

2.To add a Page Header to the report, right-click on the report's surface, and in the invoked context menu, select Insert Band and then Page Header.

img123471

3.Next, add two Table controls to the report's Page Header and Detail band.

To do this, drag the Table control from the Toolbox and drop it onto the Page Header Band. Then, add a table to the Detail band in the same way.

img123472

One table will be used as a header, and the other one - for the report's detail information.

4.Type the headers into the upper table's cells. Then, bind the corresponding cells in the detail section to the appropriate data fields by expanding the Data Bindings option and setting the Text property.

img123473

5.Finally, you can customize various properties of the tables to improve their appearance. For example, in the Properties Panel, you can define the Borders property, as well as the Background Color property. To customize cell text options, specify the Font property.

A noteworthy feature is the capability to specify odd and even styles for the detail table.

The table report is now ready. Switch to the Print Preview tab, and view the result.

img123474

ExpandedCollapsed See Also

Master-Detail Report

Cross-Tab Report

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.