PivotGridField
A PivotGridField is the main logic unit that relates the content of the pivot grid to fields in the DataSource.
The PivotGridField defines the properties and methods that are common to all field types in RadPivotGrid.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public abstract class PivotGridField : StateManager, IMarkableStateManager, IStateManager, IComparable, IDisposable, INamingContainer
Inheritance: objectStateManagerPivotGridField
Derived Classes:
Implements:
Inherited Members
Constructors
protected PivotGridField()
Properties
Style of the cells in the the grid, corresponding to the field.
[PersistenceMode(PersistenceMode.InnerProperty)]
public virtual Style CellStyle { get; }
Gets or sets the field name from the specified data source to bind to the PivotGridField.
public string DataField { get; set; }
A string, specifying the data field from the data source, from which to bind the PivotGridField.
Gets or sets the string that specifies the display format for all cells which belongs to this field.
public virtual string DataFormatString { get; set; }
A string that specifies the display format all cells which belongs to this field.
Gets or sets if the field will be hidden which exlude it from the pivot table calculations.
public bool IsHidden { get; set; }
Determines if the field will be hidden which exlude it from the pivot table calculations.
[Browsable(false)]
public RadPivotGrid Owner { get; }
Gets or sets a referance of the PivotGridFieldRenderingControl that allow you to control how the field is rendered.
[Browsable(false)]
public PivotGridFieldRenderingControl RenderingControl { get; set; }
Gets or sets a referance instance of the PivotGridSortOrder enum.
public PivotGridSortOrder SortOrder { get; set; }
Gets or sets the string that specifies the display format for all total cells which belongs to this field.
public virtual string TotalFormatString { get; set; }
A string that specifies the display format all cells which belongs to this field.
Each column in Telerik RadPivotGrid has an UniqueName property (string). This property is assigned automatically by the designer (or the first time you want to access the columns if they are built dynamically).
[Browsable(true)]
public virtual string UniqueName { get; set; }
Gets or sets the order indexes for fields displayed within the same zone.
public virtual int ZoneIndex { get; set; }
Gets the zone type of the field which determines in which zone the field is positioned.
[Browsable(false)]
public PivotGridFieldZoneType ZoneType { get; }
The zone type of the field which determines in which zone the field is positioned.
Methods
public void ClearRenderControl()
public void Dispose()
Implements:
protected abstract void OnDescriptionInfoChanged()
public void SetDescriptionInfo()
Sets the IsHidden property to false and sets the ZoneIndex so the field will be placed as last in the zone
public void Show()
protected override void TrackViewState()
Overrides: