Version

User Interaction When Grouping Records (xamDataGrid)

Topic Overview

Purpose

This topic describes user interactions when grouping xamDataGrid™ records.

Required background

The following topic is a prerequisite to understanding this topic:

Topic Purpose

This topic introduces the xamDataGrid control and various elements, on which control is composed.

User interactions when sorting and grouping records

Overview

The following table summarizes the capabilities of the xamDataGrid control’s main user interaction related to sorting grouped records.

The user can… Using… Details Configurable?

Group by field

Mouse

Users can drag field headers from multiple field layouts into group-by area

Remove grouping

Mouse

Users can drag Label Presenters out of the group-by area to ungroup by field

Group by more than one field

Mouse

Users can drag more than one field headers into group-by area

Group by field

Users can group on a field simply by clicking on a Label Presenter and dragging it into the group-by area. In the event you cannot see the group by area it will automatically appear.

User Interaction when Sorting Grouped fields 8.png

This is how the xamDataGrid layout changes after grouping.

User Interaction when Sorting Grouped fields 9.png

Remove grouping

Users can remove groupings by dragging the Label Presenter outside of the group-by area.

User Interaction when Sorting Grouped fields 10.png

Group by more than one field

Users may group by more than one field by following these steps:

  1. Create a group by dragging a Label Presenter into the Group by Area, see the Group by field section in this topic for additional information.

  2. Expand the group by clicking on the group expander in order to expand one or more GroupByRecord and show their label presenters

  3. Drag as many additional label presenter into the group-by area as desired

User Interaction when Sorting Grouped fields 11.png

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic gives an overview of grouping functionality of xamDataGrid . This feature allows your users to group data into more manageable and navigable way. The feature displays a section of the control in which your users can drag columns in order to group their data.

This topic describes how you can change the location of Group-by Area.

This topic describes how you can detach the group-by area from Data Presenter control and create an external group-by area in your window.

This topic describes how you can modify the layout of the field headers and field layout descriptions in the group-by area.