Click or drag to resize

AggregateDisplay Enumeration

Options specifying how the mapper should display aggregate data. This is specified using the mapper "AggregateDisplay" property. Note that displaying aggregate data requires an additional query which may have a performance impact on the application. If so desired, he developer can use the persistence options to reduce this impact by making sure that users don't turn on aggregate display permanently.

When aggregates are enabled you can specify the type of aggregation to use on each field by setting its AggregateType. Unless ExplicitFieldsOnly is specified, fields without an explicit AggregateType setting will default to an aggregation based primarily on the field's OleDbType and CellType and whether or not it has a Picklist. Typically the only non-None default is to use Sum for numeric fields.

When aggregates are enabled on a datasheet with grouping applied aggregates, in addition to ovreal aggregates, aggregates will be displayed for each grouping .

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[FlagsAttribute]
public enum AggregateDisplay
Members
  Member nameValueDescription
Display1Aggregate data should be displayed by default.
DisplaySelectable4The user can select whether or not to display aggregate data. The default is specified by the Display option.
PersistForPageInstance16If the user selects to show/hide aggregate data, that selection should persist for the life of the page only.
PersistForSession32If the user selects to show/hide aggregate data, that selection should persist for the life of the session only.
PersistPermanently64If the user selects to show/hide aggregate data, that selection should persist across sessions until the user changes it.
AllowPageToDisplay128Allow page to enable aggregates by setting its DisplayAggregates DisplayAttribute.
ExplicitFieldsOnly256 Aggregate data should be displayed only for fields with an explicitly set AggregateType.
See Also