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 協助