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

Declaration

[DefaultValue("")]
[PropertyCategory(PropertyCategory.LegacyBinding)]
[PropertyCategory(PropertyCategory.RelationalSource)]
public string UnboundFieldName { get; set; }
<PropertyCategory(PropertyCategory.RelationalSource)>
<PropertyCategory(PropertyCategory.LegacyBinding)>
<DefaultValue("")>
Public Property UnboundFieldName As String

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.

See Also