New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Constructors

C#
public PivotGridDataItem(RadPivotGrid ownerPivotGrid, int displayIndex, bool isDataBinding)
Parameters:ownerPivotGridRadPivotGriddisplayIndexintisDataBindingbool
C#
[SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
public PivotGridDataItem(RadPivotGrid ownerPivotGrid, PivotGridItemType itemType, bool isDataBinding)
Parameters:ownerPivotGridRadPivotGriditemTypePivotGridItemTypeisDataBindingbool

Properties

C#
public object DataItem { get; }
C#
public int DataItemIndex { get; }
C#
public int DisplayIndex { get; protected set; }
C#
public bool Selected { get; set; }

Methods

C#
protected virtual PivotGridCell CreateCell()
Returns:

PivotGridCell

C#
protected Button CreateExpandCollapseButton(string id)
Parameters:idstringReturns:

Button

C#
protected LinkButton CreateExpandCollapseLightweightButton(string id)
Parameters:idstringReturns:

LinkButton

C#
[SuppressMessage("Microsoft.Globalization", "CA1305:SpecifyIFormatProvider", MessageId = "System.String.Format(System.String,System.Object)")]
protected string FormatDataValue(PivotGridDataCell dataCell)
Parameters:dataCellPivotGridDataCellReturns:

string

C#
protected virtual string GetFormatString(PivotGridField field, bool isTotalCell, bool isGrandTotalCell)
Parameters:fieldPivotGridFieldisTotalCellboolisGrandTotalCellboolReturns:

string

C#
protected virtual void SetCellText(PivotGridCell cell, string text)
Parameters:cellPivotGridCelltextstring
C#
protected void SetSelected(bool isSelected)
Parameters:isSelectedbool