Official Content

Deprecated since: GeneXus Salto.

This event is triggered every time the aggregation function of a QueryElement is changed.

Syntax

&AggregationChangedData.{ Aggregation | Name }

When the event is triggered, its parameters are queried in the "AggregationChangedData" property. It returns an SDT with the following data:

  • Name. Name of the element in which aggregation has been changed.
  • Aggregation. Is the selected aggregation. Possible operations are Sum, Average, Quantity, Minimum and Maximum.

QueryViewerFilterChangedData SDT Composition

QueryViewerAggregationChangedData

Example

In this example, the names of the aggregation that has been changed and of the new one are displayed on screen.

Event QueryClients.AggregationChanged
    Msg("Changed aggregation of the field: " + &AggregationChangedData.Name + " to a new aggregation: " + &AggregationChangedData.Aggregation)
EndEvent

AggregationChanged Example

Scope

Output type: PivotTable

 









Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant