Grid Group Columns XML

This is an XML property that allows you to set up grouped columns to be displayed in the grid.

The property should contain a root node value of Grouping. The root node Grouping should contain child node value Group, which will represent each grouping you want to setup in the grid. Each Group node will contain the following elements.

ColumnMember

The string value of the column name you want to group on.

GroupEmptyString

A string value that is displayed in a group row when the value is null or an empty string.

Example:

          <Groups>
                   <Group>
                             <ColumnMember>Status</ColumnMember>
                             <GroupMode>Expanded</GroupMode>
                   </Group>
          </Groups>

GroupInterval

Controls how the grouped values should be calculated.

Options: Default, Value,Text, Alphabetical, Date, Month, Year, Hour, Minute, ShortTime, Quarterly, NamedPeriod

Default: Value

GroupMode

Specifies the grouping mode of the column being  grouped.

Options: Collapsed, Expanded, Default

Default: Collapsed

SortOrder

Sets the sort order of the grouped column.

Options: Ascending, Descending, Disabled, None

Default: None

Back to Top