Skip to main content

PivotGridFieldBase.UnboundFieldName Property

Gets or sets the name of a column in a summary data source that corresponds to the current unbound field.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[PivotAPIMemberCategory(APICategory.LegacyBinding)]
[PivotAPIMemberCategory(APICategory.RelationalSource)]
[XtraSerializableProperty]
public string UnboundFieldName { get; set; }

Property Value

Type Description
String

A string value that specifies the name of a column in a summary data source that corresponds to the current field.

Remarks

Note

This member is not supported in Optimized, OLAP, and Server modes. Use ExpressionDataBinding/OlAPExpressionBinding instead.

PivotGridControl supports bound and unbound fields. A bound field is connected to a specific datasource field via the PivotGridFieldBase.FieldName property, and retrieves data from this field. An unbound field is not connected to a datasource field, and it should be populated with data manually. Bound fields whose values are grouped according to the PivotGridFieldBase.GroupInterval, are also considered unbound.

The PivotGridControl.CreateSummaryDataSource method allows you to obtain a table whose columns are represented by fields, while records are represented by pivot grid rows. Use the UnboundFieldName property to specify the name of a column in this table that corresponds to the current unbound field.

See Also