Skip to main content
A newer version of this page is available. .

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.v20.2.Core.dll

Declaration

[DefaultValue("")]
public string UnboundFieldName { get; set; }

Property Value

Type Default Description
String

String.Empty

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

Remarks

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnboundFieldName property.

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.

See Also