This sample demonstrates CRUD operations performed in the raw items of any value cell in a pivot grid.
In the sample, the raw items of any value cell can be viewed in a drill-through dialog by double-clicking the cell. CRUD operations can be performed by double-clicking the cells or using toolbar options. The following CRUD operations can be performed through toolbar operations for normal and batch edits:
Add- To add new record, click
Addin the toolbar.
Edit- To edit record, double click a cell.
Delete- To delete a record, click
Deletein the toolbar after selected a row.
Cancel- You can save or discard changes by clicking
Cancelin the toolbar, respectively.
This CRUD operations can be configured in a pivot grid using
editSettings in code behind. There are also
different modes to manipulate the data source.
The available modes are:
Normal- Editing by row.
Batch- Editing individual cells and bulk updating.
Dialog- Editing by row with a dialog option.
Command Columns- An additional column appends to the grid with icons to perform CRUD operations. Editing using cell double-click is restricted here.