Pivot Table / User Interaction / Conditional Formatting

Blazor Pivot Table Example - Conditional Formatting

Loading Syncfusion Blazor Server Demos…

           
Properties

This sample demonstrates conditional formatting functionality for customizing pivot table cell appearance based on user-defined conditions.

The conditional formatting dialog enables adding conditions and styles dynamically. Formatting can be added, removed, and reset at runtime.

Conditional formatting features:

Configuration properties in PivotViewConditionalFormatSetting:

  • Measure - Value field name for style application
  • Condition - Operator type (equals, greater than, less than, etc.)
  • Value1 - Start value for filtering
  • Value2 - End value (for range conditions)
  • Style - Cell appearance customization
  • ApplyGrandTotals - Apply to row/column grand totals

The Reset All option clears all applied conditional formatting.

For comprehensive documentation, refer to the documentation.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE