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

PivotGridField.ID Property

Gets or sets the field’s unique identifier name.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v18.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A string which specifies the field’s unique identifier.

Remarks

The ID property specifies the unique identifier name for the current field. This property can be used at runtime to obtain a particular field specified by its unique identifier name (via the PivotGridFieldCollection.Item property) rather than by its index.

Note

If you’re using templates, the ID property must be set to a unique value.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ID 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