PivotDrillDownDataSource.SetValue(Int32, PivotGridField, Object) Method
Sets the value of the specified data field in the specified row.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
#Declaration
public void SetValue(
int rowIndex,
PivotGridField field,
object value
)
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | A zero-based integer that identifies the data row. |
field | Pivot |
A Pivot |
value | Object | An object that represents the new value. |
#Remarks
If the PivotGrid control is bound to an OLAP cube, data editing is not allowed. In this instance, the SetValue method throws an exception.
Note
The Set
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetValue(Int32, PivotGridField, Object) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.