Skip to content

This example shows how to edit a cell with the cell editing template in Pivot Grid for WPF.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for WPF - How to Edit a Cell with the Cell Editing Template

The Pivot Grid control does not support data editing functionality out of the box because it displays aggregated data. This example demonstrates how to implement a custom CellTemplate with in-place editing functionality.

This example implements the base set of features. It does not allow users to go to the next cell by pressing the tab or arrow key.

screenshot

The PivotGridEditHelper class implements the in-place cell editor. When editing is finished, the editor calls the pivotGridControl1_OnCellEdit method. This method retrieves the underlying data for the edited cell and recalculates cell values related to the edited cell (for example, Total and Grand Total values).

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)