Skip to main content

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.v26.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public void SetValue(
    int rowIndex,
    PivotGridField field,
    object value
)

Parameters

Name Type Description
rowIndex Int32

A zero-based integer that identifies the data row.

field PivotGridField

A PivotGridField object that represents the pivot grid field. Its PivotGridField.FieldName property identifies the column in the data source.

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 SetValue method is not in effect for unbound columns.

See Also