Pivot Grid for WPF - Split Field Value Cells
The following example demonstrates how to split field value cells. In this example, the Grand Total column header is split into two cells: Price and Count.
Handle the CustomFieldValueCells event and call the event parameter's Split
method. Cells that should be split are identified by a predicate that returns true for those cells. The quantity, size, and captions of newly created cells are specified by an array of cell definitions (the FieldValueSplitData
objects).
Files to Review
- Window1.xaml (VB: Window1.xaml)
- Window1.xaml.cs (VB: Window1.xaml.vb)