DataGrouping Element (RDL)

Defines a grouping for custom report item data.

语法

<RowGroupings>
        ...
        <DataGrouping>
         <Static>...</Static>
         <Subtotal>...</Subtotal>
          <Sorting>...</Sorting>
          <CustomProperties>...</CustomProperties>
        <DataGroupings>...</DataGroupings>
          <Grouping>...</Grouping>
        </DataGrouping>
        ...
</RowGroupings>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that occurs once or more than once.

Element Relationships

Relationship Element

Parent element

RowGroupings

Child elements

Grouping

CustomProperties

Sorting

DataGroupings

Subtotal

Static

备注

The Static element indicates that this is a static group. This element must be true if any ancestor grouping is a detail grouping. This element must be false if any ancestor grouping is defined as static.

The Grouping element contains expressions by which to group the data. This element is not allowed if the Static element is set to true.

The Sorting and Subtotal elements are ignored if the Static element is set to true.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助