Grouping and sorting

Data within Crystal report files can be better organized through the use of grouping and sorting. Consumers of the report can more easily access information that is classified and ordered based on common fields. This section explains how to interact with the grouping and sorting definitions in a report programmatically.
Classes used to group and sort data
  • com.crystaldecisions.sdk.occa.report.application.GroupController
    Modifies how data is grouped in a report. Access the GroupController class with the DataDefController.getGroupController method.
  • com.crystaldecisions.sdk.occa.report.data.Groups
    Contains IGroup objects that indicate how data in the report should be grouped.
  • com.crystaldecisions.sdk.occa.report.application.GroupSortController
    Modifies how groups are sorted in a report. Access the GroupSortController class with the DataDefController.getGroupSortController method.
  • com.crystaldecisions.sdk.occa.report.application.RecordSortController
    Modifies how records are sorted in a report. Access the RecordSortController class with the DataDefController.getRecordSortController method.
  • com.crystaldecisions.sdk.occa.report.data.Sorts
    Contains ISort objects that indicate how data in the report should be sorted by field and direction.