Tables
Tables are data-bound components that organize and display information from your data sources in structured layouts. The Web Report Designer provides several table types to meet different data presentation needs, from simple lists to complex cross-tabulated summaries.
Table Types
The Components tab offers a Tables section that allows users to visualize data records from different data sources:
- List—Displays data records in a free-form layout where you can arrange fields anywhere within each list item. Ideal for creating custom layouts like address cards or product catalogs.
- Table—Displays report data in a traditional grid format with rows and columns. Best for tabular data like invoices, reports, or data lists.
- Crosstab—Displays aggregated data summaries grouped in rows and columns, similar to a pivot table. Perfect for cross-referencing data like sales by region and product.
- Table Wizard—Guides you through creating a Table with an easy step-by-step wizard.
- Crosstab Wizard—Guides you through creating a Crosstab with an easy step-by-step wizard.
The recommended approach for configuring tables and crosstabs is to use the corresponding wizard. If additional tuning is needed, do this manually after closing the wizard.
Prerequisites
Before adding any table component, ensure you have:
- Selected the Detail section of your report (required for table placement).
- Created and configured a data source for your report.
- Planned your data layout and identified the fields you want to display.
Adding a List
The List component provides the most flexibility for custom data layouts. Use Lists when you need complete control over how data appears or want to create non-tabular presentations.
- Drag the List item from the Components tab and drop it onto the Detail section of the report.
- Bind the List to your data source.
- Build your custom layout by adding report items like TextBoxes inside the List.
- Configure the individual report items to display specific data fields.
This video demonstrates creating a List, binding it to an SQL data source, and adding a TextBox to display customer names:
Adding a Table
Tables organize data in a traditional row-and-column format that you can use for structured data like invoices, reports, or any tabular information.
- Drag the Table item from the Components tab and drop it onto the Detail section of the report.
- Bind the Table to your data source.
- Configure the table structure by adding or removing columns and rows as needed.
- Add TextBox report items to cells and bind their value to the relevant fields in your data source. Note that the empty-appearing table already consists of text boxes according to the applied data source and the available fields (just their value is empty). You can add new items if you want to have other item types instead, e.g., HtmlTextBox, Barcode, etc.
When you add a new Table, it starts with three columns, a header row, and a data row:
This video shows how to add a Table report item, bind it to an already existing CSV Data Source, and add the necessary TextBox report items for the column headers and the data records.
Adding a Crosstab
Crosstabs let you display aggregated data summaries with row and column groupings, similar to pivot tables. Use Crosstabs when you need to analyze data across multiple dimensions.
- Drag the Crosstab item from the Components tab and drop it onto the Detail section of the report.
- Bind the Crosstab to your data source.
- Configure the row groups and column groups.
- Bind the value of the data cells to the relevant fields in your data source.
- Set up aggregation functions (e.g., Sum(), Count()) in the designated data cells.
When you add a Crosstab, it includes a column group area, row group area, and data body:
This video demonstrates creating a Crosstab, binding it to SQL data, and configuring row/column groups with aggregated data:
Using the Table Wizard
The Table Wizard provides a faster way to create tables by guiding you through the setup process step-by-step. Use the wizard when you want to quickly create a table with minimal manual configuration.
- Click the Table Wizard from the Components tab.
- The Configure Table pane appears on the right side of the Web Report Designer.
- Follow the wizard steps to select your data source, choose fields, and configure the table layout.
This video shows how to use the Table Wizard to create a table with a Web Service data source and configure field selection:
Using the Crosstab Wizard
The Crosstab Wizard simplifies creating complex cross-tabulated reports by walking you through the grouping and aggregation setup.
- Click the Crosstab Wizard from the Components tab.
- The Configure Crosstab pane appears on the right side of the Web Report Designer.
- Follow the wizard steps to define row groups, column groups, and data aggregation.
This video demonstrates using the Crosstab Wizard with SQL data to create a cross-tabulated report showing OrderID and Freight totals:
Next Steps
- Add report sections to organize your report layout.
- Explore other report components to enhance your reports.