# C1.Web.Mvc.Olap.PivotPanel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Olap_PivotPanel" data-uid="C1.Web.Mvc.Olap.PivotPanel" class="text-break">PivotPanel Class
</h1>
  <div class="markdown level0 summary"><p>Provides a user interface for interactively transforming regular data tables into Olap pivot tables.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="../C1.AspNetCore.Mvc/C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="../C1.AspNetCore.Mvc/C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><span class="xref">PivotPanel</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="../C1.AspNetCore.Mvc/C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Olap.html">C1.Web.Mvc.Olap</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.Olap.dll</h6>
  <h5 id="C1_Web_Mvc_Olap_PivotPanel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PivotPanel : Control, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PivotPanel
    Inherits Control
    Implements IHtmlContent, ITemplate</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.Olap.PivotPanel.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.-ctor.html#C1_Web_Mvc_Olap_PivotPanel__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">PivotPanel(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.html">PivotPanel</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_ColumnFields" data-uid="C1.Web.Mvc.Olap.PivotPanel.ColumnFields">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.ColumnFields.html#C1_Web_Mvc_Olap_PivotPanel_ColumnFields">ColumnFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of <a class="xref" href="C1.Web.Mvc.Olap.PivotField.html">PivotField</a> objects that define the fields shown as columns in the output table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_DeferredUpdate" data-uid="C1.Web.Mvc.Olap.PivotPanel.DeferredUpdate">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.DeferredUpdate.html#C1_Web_Mvc_Olap_PivotPanel_DeferredUpdate">DeferredUpdate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether engine is in deferred update state or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_Engine" data-uid="C1.Web.Mvc.Olap.PivotPanel.Engine">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.Engine.html#C1_Web_Mvc_Olap_PivotPanel_Engine">Engine</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Web.Mvc.Olap.PivotEngine.html">PivotEngine</a> being controlled by this <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.html">PivotPanel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_Fields" data-uid="C1.Web.Mvc.Olap.PivotPanel.Fields">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.Fields.html#C1_Web_Mvc_Olap_PivotPanel_Fields">Fields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of the <a class="xref" href="C1.Web.Mvc.Olap.PivotField.html">PivotField</a> objects which can be used in the view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_FilterFields" data-uid="C1.Web.Mvc.Olap.PivotPanel.FilterFields">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.FilterFields.html#C1_Web_Mvc_Olap_PivotPanel_FilterFields">FilterFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of <a class="xref" href="C1.Web.Mvc.Olap.PivotField.html">PivotField</a> objects that define the fields used as filters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_ItemsSource" data-uid="C1.Web.Mvc.Olap.PivotPanel.ItemsSource">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.ItemsSource.html#C1_Web_Mvc_Olap_PivotPanel_ItemsSource">ItemsSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets ItemsSource settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_ItemsSourceId" data-uid="C1.Web.Mvc.Olap.PivotPanel.ItemsSourceId">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.ItemsSourceId.html#C1_Web_Mvc_Olap_PivotPanel_ItemsSourceId">ItemsSourceId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the id of the <a class="xref" href="C1.Web.Mvc.Olap.PivotEngine.html">PivotEngine</a> service or the <span class="xref">C1.Web.Mvc.CollectionViewService&lt;T&gt;</span> service  being controlled by this <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.html">PivotPanel</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_OnClientItemsSourceChanged" data-uid="C1.Web.Mvc.Olap.PivotPanel.OnClientItemsSourceChanged">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.OnClientItemsSourceChanged.html#C1_Web_Mvc_Olap_PivotPanel_OnClientItemsSourceChanged">OnClientItemsSourceChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the items source changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_OnClientUpdatedView" data-uid="C1.Web.Mvc.Olap.PivotPanel.OnClientUpdatedView">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.OnClientUpdatedView.html#C1_Web_Mvc_Olap_PivotPanel_OnClientUpdatedView">OnClientUpdatedView</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the engine has finished updating the output pivot view list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_OnClientUpdatingView" data-uid="C1.Web.Mvc.Olap.PivotPanel.OnClientUpdatingView">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.OnClientUpdatingView.html#C1_Web_Mvc_Olap_PivotPanel_OnClientUpdatingView">OnClientUpdatingView</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the engine starts updating the output pivot view list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_OnClientViewDefinitionChanged" data-uid="C1.Web.Mvc.Olap.PivotPanel.OnClientViewDefinitionChanged">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.OnClientViewDefinitionChanged.html#C1_Web_Mvc_Olap_PivotPanel_OnClientViewDefinitionChanged">OnClientViewDefinitionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the view definition changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_RestrictDragging" data-uid="C1.Web.Mvc.Olap.PivotPanel.RestrictDragging">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.RestrictDragging.html#C1_Web_Mvc_Olap_PivotPanel_RestrictDragging">RestrictDragging</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the panel should restrict drag operations based on field types.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_RowFields" data-uid="C1.Web.Mvc.Olap.PivotPanel.RowFields">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.RowFields.html#C1_Web_Mvc_Olap_PivotPanel_RowFields">RowFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of <a class="xref" href="C1.Web.Mvc.Olap.PivotField.html">PivotField</a> objects that define the fields shown as rows in the output table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_ShowFieldIcons" data-uid="C1.Web.Mvc.Olap.PivotPanel.ShowFieldIcons">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.ShowFieldIcons.html#C1_Web_Mvc_Olap_PivotPanel_ShowFieldIcons">ShowFieldIcons</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the main field list should include icons indicating whether fields are measure or dimension fields.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_ValueFields" data-uid="C1.Web.Mvc.Olap.PivotPanel.ValueFields">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.ValueFields.html#C1_Web_Mvc_Olap_PivotPanel_ValueFields">ValueFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of <a class="xref" href="C1.Web.Mvc.Olap.PivotField.html">PivotField</a> objects that define the fields summarized in the output table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_ViewDefinition" data-uid="C1.Web.Mvc.Olap.PivotPanel.ViewDefinition">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.ViewDefinition.html#C1_Web_Mvc_Olap_PivotPanel_ViewDefinition">ViewDefinition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current pivot view definition as a JSON string.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Olap_PivotPanel_RegisterStartupScript_System_IO_TextWriter_" data-uid="C1.Web.Mvc.Olap.PivotPanel.RegisterStartupScript(System.IO.TextWriter)">
          <a class="xref" href="C1.Web.Mvc.Olap.PivotPanel.RegisterStartupScript.html#C1_Web_Mvc_Olap_PivotPanel_RegisterStartupScript_System_IO_TextWriter_">RegisterStartupScript(TextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Register the startup scripts.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
