Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to conditionally suppress summary footer cell painting by using formatting rules

$
0
0

The main idea is to adjust a FormattingRule for a label that represents a summary. Use the Formatting.Visible property to control item visibility and the FormattingRule.Condition property to provide an expression based on your condition. 

This example illustrates the latter approach. An aggregate function of the following format is used in the example:
"[Collection][Condition].Sum("Field")"
The Sum function summarizes all "Field" values that match the Condition.

 

For further information, see:
How to: Calculate an Aggregate Function.
Criteria Language Syntax

Conditional Formatting
How to: Conditionally Suppress Controls

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>