OptionalcolumnFor 'column' displayType: which column to display under
OptionalconditionalConditional styling rules (applied in order, first match wins)
OptionaldescriptionOptional description (shown in tooltip)
Display type: 'column' (pinned row) or 'card' (summary panel)
OptionalenabledWhether this aggregate is enabled (visible)
SQL expression to calculate (e.g. "SUM(OrderTotal)", "COUNT(*)")
OptionalformatValue formatting
OptionaliconIcon for card display (Font Awesome class)
OptionalidUnique ID for this aggregate (auto-generated if not provided)
Human-readable label
OptionalorderSort order for display (lower = earlier)
OptionalsmartNatural language prompt for AI-generated expression
Configuration for a single aggregate expression in the entity data grid.
Used inside MJUserViewEntity_IGridAggregatesConfig.expressions. Each aggregate can be displayed as a pinned-row value under a column or as a summary card in a panel. Supports both explicit SQL expressions and AI-generated expressions via
smartPrompt.