Skip to content

Commit 38e2e61

Browse files
authored
hold shift to drop table with field headers (#227)
1 parent 9016d31 commit 38e2e61

File tree

5 files changed

+27
-16
lines changed

5 files changed

+27
-16
lines changed

reporting-for-desktop/articles/report-designer/report-designer-for-winforms/use-report-elements/bind-controls-to-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ author: Anna Gubareva
44
---
55
# Bind Report Controls to Data (Expression Bindings)
66

7-
You can use the following approaches to include a data source's information in your report:
7+
You can use the following approaches to include data source information in your report:
88

99
* [Use the Field List](#use-the-field-list)
1010
* [Use the Smart Tag](#use-the-smart-tag)
1111
* [Use the Property Grid](#use-the-property-grid)
1212

1313
## Use the Field List
1414

15-
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source's hierarchy and provides access to the available data fields.
15+
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source hierarchy and provides access to available data fields.
1616

1717
Drop a data field from this panel onto a report's surface to create a new report control bound to the corresponding field.
1818

reporting-for-web/articles/report-designer/create-reports/table-reports.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ author: Anna Vekhina
44
---
55
# Table Reports
66

7-
This tutorial describes how to create a data-bound report displaying information in a tabular format. Table reports should not be confused with hierarchical [master-detail reports](master-detail-reports-with-detail-report-bands.md), nor with [cross-tab reports](cross-tab-reports.md).
7+
This tutorial describes how to create a data-bound report that displays information in a tabular format. Table reports should not be confused with hierarchical [master-detail reports](master-detail-reports-with-detail-report-bands.md), nor with [cross-tab reports](cross-tab-reports.md).
88

99
![](../../../images/eurd-web-table-report-result.png)
1010

1111
1. [Create a new report](../add-new-reports.md) or [open an existing one](../open-reports.md).
1212

1313
2. [Bind the report](../bind-to-data.md) to a required data source.
1414

15-
3. Add the [Page Header](../introduction-to-banded-reports.md) band to the report to print the column headers at the top of every document page. To do this, from the report's context menu, select the **Insert Page Header Band** command.
15+
3. Add the [Page Header](../introduction-to-banded-reports.md) band to the report to print the column headers at the top of every document page. To do this, select the **Insert Page Header** Band command from the report's context menu.
1616

1717
![](../../../images/eurd-web-table-report-insert-page-header.png)
1818

19-
4. Drop the [Table](../use-report-elements/use-tables.md) control from the [Toolbox](../report-designer-tools/toolbox.md) onto the Page Header band and specify columns' text to create column headers.
19+
4. Switch to the [Field List](../report-designer-tools/ui-panels/field-list.md), select data fields, hold `Shift` when you drag fields and drop them onto the report design area. This creates a data table with data field names.
2020

2121
![](../../../images/eurd-web-table-report-add-static-captions.png)
2222

23-
5. To provide dynamic content to the report, switch to the [Field List](../report-designer-tools/ui-panels/field-list.md), select data fields and drop them onto the Detail band.
23+
5. To provide dynamic content to the report, select data fields and drop them onto the Detail band in the Field list.
2424

2525
![](../../../images/eurd-web-table-report-add-dynamic-content.png)
2626

@@ -30,20 +30,23 @@ This tutorial describes how to create a data-bound report displaying information
3030

3131
![](../../../images/eurd-web-table-report-select-both-tables.png)
3232

33-
7. Expand the **Appearance** category and specify the **Font**, **Text Alignment** and **Borders** properties to customize the tables' appearance.
33+
Alternatively, you can select one cell and press `Esc` to move one level up and select an entire row.
34+
35+
7. Expand the **Appearance** category and specify the **Font**, **Text Alignment**, and **Borders** properties to customize table appearance.
3436

3537
![](../../../images/eurd-web-table-report-set-up-appearance.png)
3638

3739
8. Define a currency format for the **UnitPrice** cell. Select the cell and click the **Text Format String** property's ellipsis button. Select the appropriate format in the invoked **Format String Editor** editor and click **OK**.
3840

3941
![](../../../images/eurd-web-table-report-format-string.png)
4042

41-
9. To further improve the table readability, you can apply different visual styles to its odd and even rows. See [Report Visual Styles](../customize-appearance/report-visual-styles.md) to learn more.
43+
9. To further improve table readability, you can apply different visual styles to odd and even rows. See [Report Visual Styles](../customize-appearance/report-visual-styles.md) to learn more.
4244

4345
![](../../../images/eurd-web-table-report-odd-even-styles.png)
44-
45-
See the [Use Tables](../use-report-elements/use-tables.md) section to learn how to add or remove the table's rows and cells, as well as convert the table's cells to separate label controls.
4646

47-
Switch to [Print Preview](../preview-print-and-export-reports.md) to see the resulting report.
47+
See the [Use Tables](../use-report-elements/use-tables.md) section to learn how to add or remove table rows and cells, and how to convert table cells to separate label controls.
48+
49+
50+
Switch to [Print Preview](../preview-print-and-export-reports.md) to see the generated report.
4851

4952
![](../../../images/eurd-web-table-report-result.png)

reporting-for-web/articles/report-designer/report-designer-tools/ui-panels/field-list.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The following actions are available in the Field List for data source customizat
1919
|---|---|
2020
| ![](../../../../images/eurd-web-fieldlist-add-data-source-button.png) | Invokes the Data Source Wizard. |
2121
| ![](../../../../images/eurd-web-fieldlist-data-source-rename.png) | Renames the selected data source. |
22-
| ![](../../../../images/eurd-web-fieldlist-data-source-rebuild-result-schema.png) | Rebuilds the result schema for the selected data source. |
22+
| ![](../../../../images/eurd-web-fieldlist-data-source-rebuild-result-schema.png) | Rebuilds the generated schema for the selected data source. |
2323
| ![](../../../../images/eurd-web-fieldlist-data-source-edit-relationships.png) | Invokes the [Master-Detail Relation Editor](../master-detail-relation-editor.md). |
2424
| ![](../../../../images/eurd-web-fieldlist-data-source-add-calculated-field.png) | Adds a calculated field. |
2525
| ![](../../../../images/eurd-web-fieldlist-data-source-add-query.png) | Invokes the **Create a Query or Select a Stored Procedure** wizard page. |
@@ -52,10 +52,14 @@ Dropping an entire data table onto a report creates a table with its columns bou
5252

5353
![](../../../../images/eurd-web-field-list-drop-table.png)
5454

55-
To select multiple fields, click them with holding the CTRL or SHIFT key. Dropping these fields onto a report creates a new table with its cells bound to the corresponding fields.
55+
To select multiple fields, click them while pressing the `Ctrl` or `Shift` key. Dropping these fields onto a report creates a new table with its cells bound to corresponding fields.
5656

5757
![](../../../../images/eurd-web-list-drop-multiple-fields.png)
5858

59+
Select multiple data fields, a query, or a table in the Field List. Hold `Shift` when you drag the fields and drop them onto the report design area. This creates a data table with data field names.
60+
61+
![eurd-web-list-drop-table-with-field-headers](~/reporting-for-web/images/eurd-web-list-drop-table-with-field-headers.png)
62+
5963
## Data shaping operations
6064

6165
In addition, the Field List can help you solve the following tasks:

reporting-for-web/articles/report-designer/use-report-elements/bind-controls-to-data.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ author: Anna Vekhina
44
---
55
# Bind Report Controls to Data
66

7-
You can use the following approaches to include a data source's information in your report:
7+
You can use the following approaches to include data source information in your report:
88

99
* [Use the Field List](#use-the-field-list)
1010
* [Use the Properties Panel](#use-the-properties-panel)
1111

1212
## Use the Field List
1313

14-
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source's hierarchy and provides access to the available data fields.
14+
After you [bind your report to data](../bind-to-data.md), the [Field List](../report-designer-tools/ui-panels/field-list.md) panel displays the data source hierarchy and provides access to available data fields.
1515

1616
Drop a data field from this panel onto a report's surface to create a new report control bound to the corresponding field.
1717

@@ -21,14 +21,18 @@ Drop a data field onto an existing control to bind this control to the correspon
2121

2222
![](../../../images/eurd-web-field-list-drop-field-to-control.png)
2323

24-
You can also drop an entire data table onto a report to create a [Table](../use-report-elements/use-tables.md) control with its cells bound to the corresponding data table fields.
24+
You can also drop an entire data table onto a report to create a [Table](../use-report-elements/use-tables.md) control with its cells bound to corresponding data table fields.
2525

2626
![](../../../images/eurd-web-field-list-drop-table.png)
2727

2828
To select multiple fields in the Field List, hold CTRL or SHIFT and click the fields. Drop these fields onto a report to create a new table.
2929

3030
![](../../../images/eurd-web-list-drop-multiple-fields.png)
3131

32+
Select multiple data fields, a query, or a table in the Field List. Hold `Shift` when you drag the fields and drop them onto the report design area. This creates a data table with data field names.
33+
34+
![eurd-web-list-drop-table-with-field-headers](~/reporting-for-web/images/eurd-web-list-drop-table-with-field-headers.png)
35+
3236
## Use the Properties Panel
3337

3438
Select a report control and switch to the [Properties](../report-designer-tools/ui-panels/properties-panel.md) panel. Click the **Text** property's marker and select **Text Expression** from the popup menu. Select a data field or construct a binding [expression](../use-expressions/expression-language.md) in the invoked [Expression Editor](../report-designer-tools/expression-editor.md).
29.3 KB
Loading

0 commit comments

Comments
 (0)