[]
        
(Showing Draft Content)

C1.Web.Mvc.Olap.Fluent.PivotPanelBuilder

PivotPanelBuilder Class

Defines a builder to configurate PivotPanel.

Implements
Namespace: C1.Web.Mvc.Olap.Fluent
Assembly: C1.Web.Mvc.Olap.dll
Syntax
public class PivotPanelBuilder : ControlBuilder<PivotPanel, PivotPanelBuilder>, IHtmlString

Constructors

Name Description
PivotPanelBuilder(PivotPanel)

Creates one PivotPanelBuilder instance to configurate component.

Methods

Name Description
Bind(Action<CollectionViewServiceBuilder<object>>)

Sets ItemsSource by builder.

Bind(IEnumerable<object>)

Bind to a collection for ItemsSource.

Bind(string)

Sets the read action url for ItemsSource.

BindEngine(Action<PivotEngineBuilder>)

Sets the engine being controlled by this PivotPanel.

BindService(string)

Binds the service.

ColumnFields(Action<ViewFieldCollectionBuilder>)

Sets the ColumnFields property.

ColumnFields(params string[])

Sets the ColumnFields property.

DeferredUpdate(bool)

Configurates DeferredUpdate. Sets a value that determines whether engine is in deferred update state or not.

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 id of the PivotEngine service or the C1.Web.Mvc.CollectionViewService<T> service being controlled by this PivotPanel.

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.

RestrictDragging(bool?)

Configurates RestrictDragging. Sets a value that determines whether the panel should restrict drag operations based on field types.

RowFields(Action<ViewFieldCollectionBuilder>)

Sets the RowFields property.

RowFields(params string[])

Sets the RowFields property.

ShowFieldIcons(bool)

Configurates ShowFieldIcons. Gets or sets a value that determines whether the main field list should include icons indicating whether fields are measure or dimension fields.

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.