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