Todorarabadzhiev patch 1 (#1386)
* Update how-to-add-groups-to-report.md Add prev URL * Update how-to-add-groups-to-report.md
This commit is contained in:
Родитель
f969dea3e1
Коммит
18b0c2a09b
|
@ -1,17 +1,17 @@
|
||||||
---
|
---
|
||||||
title: Report Groups
|
title: Report Groups
|
||||||
page_title: Report Groups at a Glance
|
page_title: Report Groups at a Glance
|
||||||
description: "Learn how to Add, Edit and Remove Report Groups in Telerik Reporting with the Report Designers and programmatically."
|
description: "Learn how to Add, Edit, and Remove Report Groups in Telerik Reporting with the Report Designers and programmatically."
|
||||||
slug: telerikreporting/designing-reports/connecting-to-data/data-items/grouping-data/how-to-add-groups-to-report
|
slug: telerikreporting/designing-reports/connecting-to-data/data-items/grouping-data/how-to-add-groups-to-report
|
||||||
tags: how,to,add,groups,to,report,edit,delete,remove,programmatically,designer
|
tags: how,add,groups,report,edit,delete,remove,programmatically,designer
|
||||||
published: True
|
published: True
|
||||||
position: 2
|
position: 2
|
||||||
previous_url: /data-items-how-to-add-groups-to-report-item
|
previous_url: /data-items-how-to-add-groups-to-report-item, /designing-reports-create-grouping
|
||||||
---
|
---
|
||||||
|
|
||||||
# Adding Groups to Report
|
# Adding Groups to Report
|
||||||
|
|
||||||
Report groups are defined by adding __Group__ objects to the report’s __Groups__ collection. Report groups are always nested according to the order in the Groups collection. To display group data one should use the __GroupHeaderSection__ and __GroupFooterSection__ that appear once for each group member, respectively at start and end. The DetailSection displays detail data in a report and always appears inside the innermost group (if any). To add a group, follow these steps:
|
Report groups are defined by adding __Group__ objects to the report’s __Groups__ collection. Report groups are always nested according to the order in the Group's collection. To display group data one should use the __GroupHeaderSection__ and __GroupFooterSection__ that appear once for each group member, respectively at start and end. The DetailSection displays detailed data in a report and always appears inside the innermost group (if any). To add a group, follow these steps:
|
||||||
|
|
||||||
## Adding a group to a Report using Report Designer
|
## Adding a group to a Report using Report Designer
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ Report groups are defined by adding __Group__ objects to the report’s __Groups
|
||||||
1. Click the __Groups__ ellipsis.
|
1. Click the __Groups__ ellipsis.
|
||||||
1. Follow these steps for each group:
|
1. Follow these steps for each group:
|
||||||
|
|
||||||
1. Click Add button - a new unbound group will be added to the __Groups__ collection.
|
1. Click the Add button - a new unbound group will be added to the __Groups__ collection.
|
||||||
1. Click the Grouping property ellipsis.
|
1. Click the Grouping property ellipsis.
|
||||||
1. From the Edit [Grouping dialog]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/tools/edit-grouping-dialog%}), type or select an expression by which to group the data.
|
1. From the Edit [Grouping dialog]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/tools/edit-grouping-dialog%}), type or select an expression by which to group the data.
|
||||||
1. To apply sorting to the group, follow these steps:
|
1. To apply sorting to the group, follow these steps:
|
||||||
|
@ -27,7 +27,7 @@ Report groups are defined by adding __Group__ objects to the report’s __Groups
|
||||||
+ Click the Sorting ellipsis.
|
+ Click the Sorting ellipsis.
|
||||||
+ Click New.
|
+ Click New.
|
||||||
+ Type or select an expression by which to sort the data.
|
+ Type or select an expression by which to sort the data.
|
||||||
+ From the Direction column drop-down list, choose the sort direction for each expression. ASC sorts the expression in ascending order. DESC sorts the expression in descending order.
|
+ From the Direction column drop-down list, choose the sort direction for each expression. ASC sorts the expressions in ascending order. DESC sorts the expressions in descending order.
|
||||||
|
|
||||||
1. To apply filtering to the group, follow these steps:
|
1. To apply filtering to the group, follow these steps:
|
||||||
|
|
||||||
|
@ -38,12 +38,12 @@ Report groups are defined by adding __Group__ objects to the report’s __Groups
|
||||||
+ In the Value box, type the expression or value against which you want the filter to evaluate the value in Expression.
|
+ In the Value box, type the expression or value against which you want the filter to evaluate the value in Expression.
|
||||||
|
|
||||||
1. In Name, type the name of the group.
|
1. In Name, type the name of the group.
|
||||||
1. Click GroupKeepTogether to specify the keep together options.
|
1. Click GroupKeepTogether to specify the keep-together options.
|
||||||
1. Click BookMarkID to set a BookMark for this group.
|
1. Click BookMarkID to set a BookMark for this group.
|
||||||
|
|
||||||
1. Click Ok twice to close the Edit Grouping and Group Collection dialogs.
|
1. Click Ok twice to close the Edit Grouping and Group Collection dialogs.
|
||||||
|
|
||||||
> You can add a group to the Report item by using the grouping pane in the [Group Explorer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/tools/group-explorer%}) as well. To do so right click on the detail and select __Add Parent Group__. If there are existing groups, you can create Parent or Child groups by right clicking on any of the existing groups.
|
> You can add a group to the Report item by using the grouping pane in the [Group Explorer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/tools/group-explorer%}) as well. To do so right click on the detail and select __Add Parent Group__. If there are existing groups, you can create Parent or Child groups by right-clicking on any of the existing groups.
|
||||||
|
|
||||||
## Edit a group in a Report using Report Designer
|
## Edit a group in a Report using Report Designer
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ Report groups are defined by adding __Group__ objects to the report’s __Groups
|
||||||
+ Click the Sorting ellipsis.
|
+ Click the Sorting ellipsis.
|
||||||
+ Click New.
|
+ Click New.
|
||||||
+ Type or select an expression by which to sort the data.
|
+ Type or select an expression by which to sort the data.
|
||||||
+ From the Direction column drop-down list, choose the sort direction for each expression. ASC sorts the expression in ascending order. DESC sorts the expression in descending order.
|
+ From the Direction column drop-down list, choose the sort direction for each expression. ASC sorts the expressions in ascending order. DESC sorts the expressions in descending order.
|
||||||
|
|
||||||
1. To allow filtering for the group, follow these steps:
|
1. To allow filtering for the group, follow these steps:
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ Report groups are defined by adding __Group__ objects to the report’s __Groups
|
||||||
## Delete a group from a Report using Report Designer
|
## Delete a group from a Report using Report Designer
|
||||||
|
|
||||||
1. Click the Report selector button located in the upper left hand of the [Report Designer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/visual-studio-report-designer/overview%}). This makes the report active in the Properties window. The grouping pane in the [Group Explorer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/tools/group-explorer%}) displays the available groups (if any).
|
1. Click the Report selector button located in the upper left hand of the [Report Designer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/visual-studio-report-designer/overview%}). This makes the report active in the Properties window. The grouping pane in the [Group Explorer]({%slug telerikreporting/designing-reports/report-designer-tools/desktop-designers/tools/group-explorer%}) displays the available groups (if any).
|
||||||
1. Right click on the group and select __Delete Group__.
|
1. Right-click on the group and select __Delete Group__.
|
||||||
1. When prompted to delete it, __Select Yes__.
|
1. When prompted to delete it, __Select Yes__.
|
||||||
|
|
||||||
## Adding a group to a Report programmatically
|
## Adding a group to a Report programmatically
|
||||||
|
|
Загрузка…
Ссылка в новой задаче