[]
        
(Showing Draft Content)

C1.Web.Mvc.Olap.Fluent.PivotEngineBuilder

PivotEngineBuilder Class

Defines a builder to configurate PivotEngine.

Namespace: C1.Web.Mvc.Olap.Fluent
Assembly: C1.Web.Mvc.Olap.dll
Syntax
public class PivotEngineBuilder : ServiceBuilder<PivotEngine, PivotEngineBuilder>, IHtmlString, ITemplateBuilder<PivotEngineBuilder>

Constructors

Name Description
PivotEngineBuilder(PivotEngine)

Creates one PivotEngineBuilder instance to configurate component.

Methods

Name Description
AllowFieldEditing(bool)

Configurates AllowFieldEditing. Sets a value that determines whether users should be allowed to edit the properties of the Fields.

Async(bool)

Configurates Async. Sets a value that determines whether view updates should be generated asynchronously.

Bind(Action<CollectionViewServiceBuilder<object>>)

Sets ItemsSource by builder.

Bind(IEnumerable<object>)

Bind to a collection.

Bind(string)

Sets the read action url.

BindCubeService(Action<CubeServiceBuilder>)

Sets CubeService by builder.

BindCubeService(string, string, string, string, string)

Sets CubeService by builder.

BindService(string)

Binds the service.

ColumnFields(Action<ViewFieldCollectionBuilder>)

Sets the ColumnFields property.

ColumnFields(params string[])

Sets the ColumnFields property.

DefaultFilterType(FilterType)

Configurates DefaultFilterType. Sets the default filter type (by value or by condition). When binding the service, only FilterType.Condition and FilterType.None are supported. When FilterType.Both is set, it works as FilterType.Condition. When FilterType.Value is set, it works as FilterType.None.

ExclusiveValueSearch(bool)

Configurates ExclusiveValueSearch. Sets a value that determines whether the filter should include only values selected by the @see:wijmo.grid.filter.ValueFilter.filterText property.

Fields(Action<PivotFieldCollectionBuilder>)

Configurates Fields. Sets the list of the PivotField objects which can be used in the view.

FilterFields(Action<ViewFieldCollectionBuilder>)

Sets the FilterFields property.

FilterFields(params string[])

Sets the FilterFields property.

ItemsSourceId(string)

Configurates ItemsSourceId. Sets the ItemsSourceId specify which CollectionViewService will be used for this control.

OnClientError(string)

Configurates the OnClientError client event. Occurs when there is an error getting data from the server.

OnClientItemsSourceChanged(string)

Configurates the OnClientItemsSourceChanged client event. Occurs after the items source changes.

OnClientUpdatedView(string)

Configurates the OnClientUpdatedView client event. Occurs after the engine has finished updating the output pivot view list.

OnClientUpdatingView(string)

Configurates the OnClientUpdatingView client event. Occurs when the engine starts updating the output pivot view list.

OnClientViewDefinitionChanged(string)

Configurates the OnClientViewDefinitionChanged client event. Occurs after the view definition changes.

RowFields(Action<ViewFieldCollectionBuilder>)

Sets the RowFields property.

RowFields(params string[])

Sets the RowFields property.

ServerMaxDetail(int)

Configurates ServerMaxDetail. Sets the maximum number of records when getting the detail data from the server. The default value for this property is 1000, which provides a reasonable amount of detail in many scenarios. If you want to allow more detail records to be retrieved, increase the value of this property.

ServerPollInterval(int)

Configurates ServerPollInterval. Sets the amount of time, in milliseconds, which the engine should wait before polling the server for progress status while retrieving results. The default value for this property is 500, which causes the engine to poll the server for a status update every half second.

ServerTimeout(int)

Configurates ServerTimeout. Sets the maximum amount of time, in milliseconds, which the engine should wait for the results to come back from the server. The default value for this property is 60000, equivalent to sixty seconds. If you expect server operations to take longer than that to complete, set the property to a higher value.

ShowColumnTotals(ShowTotals)

Configurates ShowColumnTotals. Sets a value that determines whether the output data should include columns containing subtotals or grand totals.

ShowRowTotals(ShowTotals)

Configurates ShowRowTotals. Sets a value that determines whether the output data should include rows containing subtotals or grand totals.

ShowZeros(bool)

Configurates ShowZeros. Sets a value that determines whether the Olap output table should use zeros to indicate the missing values.

SortOnServer(bool)

Configurates SortOnServer. Sets a value that indicates whether the summary data received from the server is already sorted.

SortableGroups(bool)

Configurates SortableGroups. Sets a value that determines whether the engine should sort groups when sorting the value fields (measures) or whether it should keep the group order and the data only within each group.

TotalsBeforeData(bool)

Configurates TotalsBeforeData. Sets a value that determines whether row and column totals should be displayed before or after regular data rows and columns.

ValueFields(Action<ViewFieldCollectionBuilder>)

Sets the ValueFields property.

ValueFields(params string[])

Sets the ValueFields property.

ViewDefinition(string)

Configurates ViewDefinition. Sets the current pivot view definition as a JSON string.