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.
- Form1.cs (VB: Form1.vb)
- Program.cs (VB: Program.vb)
Assigning Editors for In-place Editing
- Pivot Grid for WinForms - Override the Cell Editor
- Pivot Grid for WinForms - Edit Pivot Grid Cells in the UI and Store Cell Values in the Underlying Data Source
(you will be redirected to DevExpress.com to submit your response)
