Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotDrillDownDataSource.SetValue(Int32, String, 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,
    string fieldName,
    object value
)

#Parameters

Name Type Description
rowIndex Int32

A zero-based integer that identifies the data row.

fieldName String

A String value that specifies the field name.

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