[]
        
(Showing Draft Content)

C1.Web.Mvc.Olap.Fluent.PivotFieldBaseBuilder-2

PivotFieldBaseBuilder<TControl, TBuilder> Class

Defines a builder to configurate PivotFieldBase.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
PivotFieldBaseBuilder<TControl, TBuilder>
Namespace: C1.Web.Mvc.Olap.Fluent
Assembly: C1.Web.Mvc.Olap.dll
Syntax
public abstract class PivotFieldBaseBuilder<TControl, TBuilder> : BaseBuilder<TControl, TBuilder> where TControl : PivotFieldBase where TBuilder : PivotFieldBaseBuilder<TControl, TBuilder>
Type Parameters
Name Description
TControl
TBuilder

Constructors

Name Description
PivotFieldBaseBuilder(TControl)

Creates one PivotFieldBaseBuilder<TControl, TBuilder> instance to configurate obj.

Methods

Name Description
Aggregate(Aggregate)

Configurates Aggregate. Sets how the field should be summarized.

Binding(string)

Configurates Binding. Sets the name of the source column which the field is bound to.

DataType(DataType?)

Configurates DataType. Sets the data type of the field.

Descending(bool)

Configurates Descending. Sets a value that determines whether keys should be sorted in descending order for this field.

Filter(Action<PivotFilterBuilder>)

Configurates Filter. Sets the filter setting for this field.

Format(string)

Configurates Format. Sets the format to use when displaying field values.

GetAggregateValue(string)

Configurates GetAggregateValue. Sets a function to be used for retrieving the field's aggregate value for a given summary object.

GetValue(string)

Configurates GetValue. Sets a function to be used for retrieving the field values.

Header(string)

Configurates Header. Sets a string used to represent this field in the user interface.

IsContentHtml(bool)

Configurates IsContentHtml. Sets a value indicating whether items in this field contain HTML content rather than plain text.

OnClientPropertyChanged(string)

Configurates the OnClientPropertyChanged client event. Occurs when the value of a property in this field changes.

ShowAs(ShowAs)

Configurates ShowAs. Sets how the field results should be formatted.

SortComparer(string)

Configurates SortComparer. Sets a function used to compare values when sorting.

Visible(bool)

Configurates Visible. Sets a value indicating whether this field should be displayed in instances of the @see:PivotPanel control.

WeightField(string)

Configurates WeightField. Sets the header specifies the field used as a weight for calculating aggregates on this field.

Width(int)

Configurates Width. Sets the preferred width to be used for showing this field in the user interface.

WordWrap(bool)

Configurates WordWrap. Sets a value that indicates whether the content of this field should be allowed to wrap within cells.