Pivot Grid for WinForms - Assign In-Place Editors to Different Types of Cells
The following example shows how to handle the PivotGridControl.CustomCellEdit event to assign different in-place editors to different types of cells.
In the example, two in-place editors (repository items) are created to display values of the "Quantity %" field. The
ProgressBar editor displays regular cell values as progress bars. The
SpinEdit editor allows you to edit total values for the field.
Files to Review
- Form1.cs (VB: Form1.vb)
- Program.cs (VB: Program.vb)
Assigning Editors for In-place Editing