# Wijmo_Olap.Pivotengine

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								PivotEngine Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Provides a user interface for interactively transforming regular data tables into Olap
									pivot tables.</p>
								</div>
								<p>Tabulates data in the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a> collection according to lists of fields and
								creates the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> collection containing the aggregated data.</p>
								<p>Pivot tables group data into one or more dimensions. The dimensions are represented
								by rows and columns on a grid, and the data is stored in the grid cells.</p>
							</div>
						</section>
						<section class="tsd-type-parameters">
							<h3>Type parameters</h3>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">PivotEngine</span>
								</li>
							</ul>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Constructors
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#constructor" class="tsd-kind-icon">constructor</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Properties
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#allowfieldediting" class="tsd-kind-icon">allow<wbr>Field<wbr>Editing</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#async" class="tsd-kind-icon">async</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#autogeneratefields" class="tsd-kind-icon">auto<wbr>Generate<wbr>Fields</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#collectionview" class="tsd-kind-icon">collection<wbr>View</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#columnfields" class="tsd-kind-icon">column<wbr>Fields</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#defaultfiltertype" class="tsd-kind-icon">default<wbr>Filter<wbr>Type</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#exclusivevaluesearch" class="tsd-kind-icon">exclusive<wbr>Value<wbr>Search</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#fields" class="tsd-kind-icon">fields</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#filterfields" class="tsd-kind-icon">filter<wbr>Fields</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#hasdeferredupdates" class="tsd-kind-icon">has<wbr>Deferred<wbr>Updates</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#isserver" class="tsd-kind-icon">is<wbr>Server</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#isupdating" class="tsd-kind-icon">is<wbr>Updating</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#isviewdefined" class="tsd-kind-icon">is<wbr>View<wbr>Defined</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#itemssource" class="tsd-kind-icon">items<wbr>Source</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#pivotview" class="tsd-kind-icon">pivot<wbr>View</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#rowfields" class="tsd-kind-icon">row<wbr>Fields</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#servermaxdetail" class="tsd-kind-icon">server<wbr>Max<wbr>Detail</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#serverpollinterval" class="tsd-kind-icon">server<wbr>Poll<wbr>Interval</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#servertimeout" class="tsd-kind-icon">server<wbr>Timeout</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#showcolumntotals" class="tsd-kind-icon">show<wbr>Column<wbr>Totals</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#showrowtotals" class="tsd-kind-icon">show<wbr>Row<wbr>Totals</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#showzeros" class="tsd-kind-icon">show<wbr>Zeros</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#sortonserver" class="tsd-kind-icon">sort<wbr>OnServer</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#sortablegroups" class="tsd-kind-icon">sortable<wbr>Groups</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#totalsbeforedata" class="tsd-kind-icon">totals<wbr>Before<wbr>Data</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#valuefields" class="tsd-kind-icon">value<wbr>Fields</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#viewdefinition" class="tsd-kind-icon">view<wbr>Definition</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Methods
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#beginupdate" class="tsd-kind-icon">begin<wbr>Update</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#cancelpendingupdates" class="tsd-kind-icon">cancel<wbr>Pending<wbr>Updates</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#deferupdate" class="tsd-kind-icon">defer<wbr>Update</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#editfield" class="tsd-kind-icon">edit<wbr>Field</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#endupdate" class="tsd-kind-icon">end<wbr>Update</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#getdetail" class="tsd-kind-icon">get<wbr>Detail</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#getdetailview" class="tsd-kind-icon">get<wbr>Detail<wbr>View</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#getkeys" class="tsd-kind-icon">get<wbr>Keys</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#invalidate" class="tsd-kind-icon">invalidate</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#onerror" class="tsd-kind-icon">on<wbr>Error</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#onitemssourcechanged" class="tsd-kind-icon">on<wbr>Items<wbr>Source<wbr>Changed</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#onupdatedview" class="tsd-kind-icon">on<wbr>Updated<wbr>View</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#onupdatingview" class="tsd-kind-icon">on<wbr>Updating<wbr>View</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#onviewdefinitionchanged" class="tsd-kind-icon">on<wbr>View<wbr>Definition<wbr>Changed</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#refresh" class="tsd-kind-icon">refresh</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#removefield" class="tsd-kind-icon">remove<wbr>Field</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Events
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-event tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#error" class="tsd-kind-icon">error</a></li>
											<li class="tsd-kind-event tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#itemssourcechanged" class="tsd-kind-icon">items<wbr>Source<wbr>Changed</a></li>
											<li class="tsd-kind-event tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#updatedview" class="tsd-kind-icon">updated<wbr>View</a></li>
											<li class="tsd-kind-event tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#updatingview" class="tsd-kind-icon">updating<wbr>View</a></li>
											<li class="tsd-kind-event tsd-parent-kind-class"><a href="wijmo_olap.pivotengine.html#viewdefinitionchanged" class="tsd-kind-icon">view<wbr>Definition<wbr>Changed</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Constructors</h2>
							<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
								<a name="constructor" class="tsd-anchor"></a>
								<h3>constructor</h3>
								<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">new <wbr>Pivot<wbr>Engine<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_olap.pivotengine.html" class="tsd-signature-type">PivotEngine</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Initializes a new instance of the <a href="wijmo_olap.pivotengine.html">PivotEngine</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>JavaScript object containing initialization data for the field.</p>
													</div>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_olap.pivotengine.html" class="tsd-signature-type">PivotEngine</a></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Properties</h2>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="allowfieldediting" class="tsd-anchor"></a>
								<h3>allowFieldEditing</h3>
								<div class="tsd-signature tsd-kind-icon">allow<wbr>Field<wbr>Editing<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether users should be allowed to edit
										the properties of the <a href="wijmo_olap.pivotfield.html">PivotField</a> objects owned by this <a href="wijmo_olap.pivotengine.html">PivotEngine</a>.</p>
									</div>
									<p>If you set this property to false, the context menus shown by controls
										such as the <strong>PivotGrid</strong> and <strong>PivotPanel</strong> will not include an
									option for changing the field settings.</p>
									<p>The default value for this property is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="async" class="tsd-anchor"></a>
								<h3>async</h3>
								<div class="tsd-signature tsd-kind-icon">async<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether view updates
										should be generated asynchronously.</p>
									</div>
									<p>This property is set to true by default, so summaries over
										large data sets are performed asynchronously to prevent
									stopping the UI thread.</p>
									<p>The default value for this property is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="autogeneratefields" class="tsd-anchor"></a>
								<h3>autoGenerateFields</h3>
								<div class="tsd-signature tsd-kind-icon">auto<wbr>Generate<wbr>Fields<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the engine should generate fields
										automatically based on the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a>.</p>
									</div>
									<p>If you set this property to true, the engine will generate fields for each
										property of the items in the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a>. The <a href="wijmo_olap.pivotfield.html#binding">PivotField.binding</a>
										property of the auto-generated fields is set to the property name, and their
										<a href="wijmo_olap.pivotfield.html#header">PivotField.header</a> property is set to a string obtained by capitalizing
									the first letter of the binding and adding spaces before each capital letter.</p>
									<p>For example, a 'customerName' property will cause the engine create a field
										with <a href="wijmo_olap.pivotfield.html#binding">PivotField.binding</a> set to 'customerName' and <a href="wijmo_olap.pivotfield.html#header">PivotField.header</a>
									set to 'Customer Name'.</p>
									<p>When adding fields to one of the view lists using strings, you must specify
										the <a href="wijmo_olap.pivotfield.html#header">PivotField.header</a>, not the <a href="wijmo_olap.pivotfield.html#binding">PivotField.binding</a> (unlike bindings,
									field headers must be unique).</p>
									<p>The default value for this property is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="collectionview" class="tsd-anchor"></a>
								<h3>collectionView</h3>
								<div class="tsd-signature tsd-kind-icon">collection<wbr>View<span class="tsd-signature-symbol">:</span> <a href="../interfaces/wijmo.icollectionview.html" class="tsd-signature-type">ICollectionView</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the <a href="../interfaces/wijmo.icollectionview.html">ICollectionView</a> that contains the raw data.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="columnfields" class="tsd-anchor"></a>
								<h3>columnFields</h3>
								<div class="tsd-signature tsd-kind-icon">column<wbr>Fields<span class="tsd-signature-symbol">:</span> <a href="wijmo_olap.pivotfieldcollection.html" class="tsd-signature-type">PivotFieldCollection</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the list of <a href="wijmo_olap.pivotfield.html">PivotField</a> objects that define the fields shown as
										columns in the output table.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="defaultfiltertype" class="tsd-anchor"></a>
								<h3>defaultFilterType</h3>
								<div class="tsd-signature tsd-kind-icon">default<wbr>Filter<wbr>Type<span class="tsd-signature-symbol">:</span> <a href="../enums/wijmo_grid_filter.filtertype.html" class="tsd-signature-type">FilterType</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the default filter type (by value or by condition).</p>
									</div>
									<p>The default value for this property is <strong>null</strong>, which causes
										the engine to use <strong>FilterType.Both</strong> on the client or
									<strong>FilterType.Condition</strong> on the server.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="exclusivevaluesearch" class="tsd-anchor"></a>
								<h3>exclusiveValueSearch</h3>
								<div class="tsd-signature tsd-kind-icon">exclusive<wbr>Value<wbr>Search<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the filter should
											include only values selected by the
										<a href="wijmo_grid_filter.valuefilter.html#filtertext">wijmo.grid.filter.ValueFilter.filterText</a> property.</p>
									</div>
									<p>The default value for this property is <strong>true</strong>, which matches
									Excel's behavior.</p>
									<p>Set it to <strong>false</strong> to disable this behavior, so searching only
										affects which items are displayed on the list and not which items
									are included in the filter.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="fields" class="tsd-anchor"></a>
								<h3>fields</h3>
								<div class="tsd-signature tsd-kind-icon">fields<span class="tsd-signature-symbol">:</span> <a href="wijmo_olap.pivotfieldcollection.html" class="tsd-signature-type">PivotFieldCollection</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the list of <a href="wijmo_olap.pivotfield.html">PivotField</a> objects exposed by the data source.</p>
									</div>
									<p>This list is created automatically whenever the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a> property is set.</p>
									<p>Pivot views are defined by copying fields from this list to the lists that define
									the view: <a href="wijmo_olap.pivotengine.html#valuefields">valueFields</a>, <a href="wijmo_olap.pivotengine.html#rowfields">rowFields</a>, <a href="wijmo_olap.pivotengine.html#columnfields">columnFields</a>, and <a href="wijmo_olap.pivotengine.html#filterfields">filterFields</a>.</p>
									<p>For example, the code below assigns a data source to the <a href="wijmo_olap.pivotengine.html">PivotEngine</a> and
										then defines a view by adding fields to the <a href="wijmo_olap.pivotengine.html#rowfields">rowFields</a>, <a href="wijmo_olap.pivotengine.html#columnfields">columnFields</a>, and
									<a href="wijmo_olap.pivotengine.html#valuefields">valueFields</a> lists.</p>
									<pre><code class="language-typescript"><span class="hljs-keyword">import</span> { PivotEngine } <span class="hljs-keyword">from</span> <span class="hljs-string">'@mescius/wijmo.olap'</span>;

<span class="hljs-comment">// create pivot engine</span>
<span class="hljs-keyword">let</span> pe = <span class="hljs-keyword">new</span> PivotEngine();

<span class="hljs-comment">// set data source (populates fields list)</span>
pe.itemsSource = <span class="hljs-keyword">this</span>.getRawData();

<span class="hljs-comment">// prevent updates while building Olap view</span>
pe.beginUpdate();

<span class="hljs-comment">// show countries in rows</span>
pe.rowFields.push(<span class="hljs-string">'Country'</span>);

<span class="hljs-comment">// show categories and products in columns</span>
pe.columnFields.push(<span class="hljs-string">'Category'</span>);
pe.columnFields.push(<span class="hljs-string">'Product'</span>);

<span class="hljs-comment">// show total sales in cells</span>
pe.valueFields.push(<span class="hljs-string">'Sales'</span>);

<span class="hljs-comment">// done defining the view</span>
pe.endUpdate();</code></pre>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="filterfields" class="tsd-anchor"></a>
								<h3>filterFields</h3>
								<div class="tsd-signature tsd-kind-icon">filter<wbr>Fields<span class="tsd-signature-symbol">:</span> <a href="wijmo_olap.pivotfieldcollection.html" class="tsd-signature-type">PivotFieldCollection</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the list of <a href="wijmo_olap.pivotfield.html">PivotField</a> objects that define the fields
										used as filters.</p>
									</div>
									<p>Fields on this list do not appear in the output table,
									but are still used for filtering the input data.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="hasdeferredupdates" class="tsd-anchor"></a>
								<h3>hasDeferredUpdates</h3>
								<div class="tsd-signature tsd-kind-icon">has<wbr>Deferred<wbr>Updates<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets a value that indicates whether the viewDefinition have been changed
										but the changes have not benn applied yet (deferUpdate mode)</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="isserver" class="tsd-anchor"></a>
								<h3>isServer</h3>
								<div class="tsd-signature tsd-kind-icon">is<wbr>Server<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets a value that determines whether the engine is bound to a server
										<a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a> or is using local data.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="isupdating" class="tsd-anchor"></a>
								<h3>isUpdating</h3>
								<div class="tsd-signature tsd-kind-icon">is<wbr>Updating<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets a value that indicates whether the engine is currently being updated.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="isviewdefined" class="tsd-anchor"></a>
								<h3>isViewDefined</h3>
								<div class="tsd-signature tsd-kind-icon">is<wbr>View<wbr>Defined<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets a value that determines whether a pivot view is currently defined.</p>
									</div>
									<p>A pivot view is defined if any of the <a href="wijmo_olap.pivotengine.html#valuefields">valueFields</a>, <a href="wijmo_olap.pivotengine.html#rowfields">rowFields</a>,
									or <a href="wijmo_olap.pivotengine.html#columnfields">columnFields</a> lists are not empty.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="itemssource" class="tsd-anchor"></a>
								<h3>itemsSource</h3>
								<div class="tsd-signature tsd-kind-icon">items<wbr>Source<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the array or <a href="../interfaces/wijmo.icollectionview.html">ICollectionView</a> that contains the
											raw data to be analyzed, an object describing an SSAS cube service,
											or a string containing the URL for a ComponentOne DataEngine
										service.</p>
									</div>
									<p>The first option (using an array or <a href="../interfaces/wijmo.icollectionview.html">ICollectionView</a>) is the
										simplest, but it limits the amount of raw data you can handle.
										Loading the raw data into an array can take a long time if the
									data set contains more than about 50,000 items or so.</p>
									<p>To use this option, simply set the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a> property to
										any JavaScript array containing the raw data to be analyzed.
									For example:</p>
									<pre><code class="language-typescript"><span class="hljs-keyword">import</span> { PivotEngine } <span class="hljs-keyword">from</span> <span class="hljs-string">'@mescius/wijmo.olap'</span>;
<span class="hljs-keyword">let</span> ng = PivotEngine({
    itemsSource = getDataArray(<span class="hljs-number">1000</span>);
});</code></pre>
									<p>The second option (direct connection to OLAP SSAS cubes) allows
										the <a href="wijmo_olap.pivotengine.html">PivotEngine</a> to connect directly to OLAP cubes provided
										by SSAS servers. This option removes the size limitations mentioned
										above and allows you to analyze data sets with millions or billions
									of records.</p>
									<p>To use this option, set the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a> property to an object
									that specifies how the component should access the service. For example:</p>
									<pre><code class="language-typescript"><span class="hljs-keyword">import</span> { PivotEngine } <span class="hljs-keyword">from</span> <span class="hljs-string">'@mescius/wijmo.olap'</span>;
<span class="hljs-keyword">let</span> ng = PivotEngine({
    itemsSource: {
        url: <span class="hljs-string">'http://ssrs.componentone.com/OLAP/msmdpump.dll'</span>,
        cube: <span class="hljs-string">'Adventure Works'</span>,
        catalog: <span class="hljs-string">'AdventureWorksDW2012Multidimensional'</span>
    }
});</code></pre>
									<p>The <strong>catalog</strong> property is optional, but <strong>url</strong> and <strong>cube</strong> are required.</p>
									<p>The preceding example works with SSAS servers that allow anonymous
										access. For servers that require Basic Authentication, you should
										also include the appropriate <strong>user</strong> and <strong>password</strong> members
									as part of the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a> object.</p>
									<p>When connecting directly to OLAP SSAS cubes, users will not be able
										to filter fields by value. They will still be able to filter by
									condition.</p>
									<p>The third option, ComponentOne data engine services, allows you to
										analyze large datasets on a server without downloading the raw data
										to the client. You can use our high-performance FlexPivot services
										or interface with Microsoft's SQL Server Analysis Services
									OLAP Cubes.</p>
									<p>To use ComponentOne data engine services, set the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a>
										property to a string containing the URL of the data service.
									For example:</p>
									<pre><code class="language-typescript"><span class="hljs-keyword">import</span> { PivotEngine } <span class="hljs-keyword">from</span> <span class="hljs-string">'@mescius/wijmo.olap'</span>;
<span class="hljs-keyword">let</span> ng = <span class="hljs-keyword">new</span> wijmo.olap.PivotEngine({
    itemsSource: <span class="hljs-string">'http://demos.componentone.com/ASPNET/c1webapi/4.5.20193.222/api/dataengine/cube'</span>
});</code></pre>
									<p>The <a href="wijmo_olap.pivotengine.html">PivotEngine</a> sends view definitions to the server,
									where summaries are calculated and returned to the client.</p>
									<p>When connecting ComponentOne DataEngine data sources, users
										will not be able to filter fields by value. They will still
									be able to filter by condition.</p>
									<p>For more information about the ComponentOne DataEngine
										services please refer to the
									<a href="http://helpcentral.componentone.com/nethelp/C1WebAPI/APIDataEngine.html" target="_blank">online documentation</a>.</p>
									<p>Our <a href="https://demos.wijmo.com/5/SampleExplorer/SampleExplorer/Sample/OlapServerIntro" target="_blank">OlapServerIntro</a>
									sample shows all options working with a single <a href="wijmo_olap.pivotengine.html">PivotEngine</a>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="pivotview" class="tsd-anchor"></a>
								<h3>pivotView</h3>
								<div class="tsd-signature tsd-kind-icon">pivot<wbr>View<span class="tsd-signature-symbol">:</span> <a href="../interfaces/wijmo.icollectionview.html" class="tsd-signature-type">ICollectionView</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the <a href="../interfaces/wijmo.icollectionview.html">ICollectionView</a> containing the output pivot view.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="rowfields" class="tsd-anchor"></a>
								<h3>rowFields</h3>
								<div class="tsd-signature tsd-kind-icon">row<wbr>Fields<span class="tsd-signature-symbol">:</span> <a href="wijmo_olap.pivotfieldcollection.html" class="tsd-signature-type">PivotFieldCollection</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the list of <a href="wijmo_olap.pivotfield.html">PivotField</a> objects that define the fields shown as
										rows in the output table.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="servermaxdetail" class="tsd-anchor"></a>
								<h3>serverMaxDetail</h3>
								<div class="tsd-signature tsd-kind-icon">server<wbr>Max<wbr>Detail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the maximum number of records the <a href="wijmo_olap.pivotengine.html#getdetail">getDetail</a>
										method should retrieve from the server.</p>
									</div>
									<p>The default value for this property is <strong>1,000</strong>, which
										is 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.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="serverpollinterval" class="tsd-anchor"></a>
								<h3>serverPollInterval</h3>
								<div class="tsd-signature tsd-kind-icon">server<wbr>Poll<wbr>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the amount of time, in milliseconds, that the
											engine should wait before polling the server for progress
										status while retrieving results.</p>
									</div>
									<p>The default value for this property is <strong>500</strong> milliseconds,
										which causes the engine to poll the server for a status update
									every half second.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="servertimeout" class="tsd-anchor"></a>
								<h3>serverTimeout</h3>
								<div class="tsd-signature tsd-kind-icon">server<wbr>Timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the maximum amount of time, in milliseconds, that
											the engine should wait for the results to come back from the
										server.</p>
									</div>
									<p>The default value for this property is <strong>60,000</strong> milliseconds,
										or one minute. If you expect server operations  to take longer
									than that, set the property to a higher value.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showcolumntotals" class="tsd-anchor"></a>
								<h3>showColumnTotals</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Column<wbr>Totals<span class="tsd-signature-symbol">:</span> <a href="../enums/wijmo_olap.showtotals.html" class="tsd-signature-type">ShowTotals</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the output <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a>
										should include columns containing subtotals or grand totals.</p>
									</div>
									<p>The default value for this property is <strong>ShowTotals.GrandTotals</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showrowtotals" class="tsd-anchor"></a>
								<h3>showRowTotals</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Row<wbr>Totals<span class="tsd-signature-symbol">:</span> <a href="../enums/wijmo_olap.showtotals.html" class="tsd-signature-type">ShowTotals</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the output <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a>
										should include rows containing subtotals or grand totals.</p>
									</div>
									<p>The default value for this property is <strong>ShowTotals.GrandTotals</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showzeros" class="tsd-anchor"></a>
								<h3>showZeros</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Zeros<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the Olap output table
										should use zeros to indicate missing values.</p>
									</div>
									<p>The default value for this property is <strong>false</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="sortonserver" class="tsd-anchor"></a>
								<h3>sortOnServer</h3>
								<div class="tsd-signature tsd-kind-icon">sort<wbr>OnServer<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that indicates whether the summary data received
										from the server is already sorted.</p>
									</div>
									<p>If this property is set to true, the <a href="wijmo_olap.pivotengine.html">PivotEngine</a> will not sort
									the data it receives from the server.</p>
									<p>This property should be used only in conjunction with custom servers
										that return the aggregated data properly sorted, typically using
									custom logic not available in the standard <a href="wijmo_olap.pivotengine.html">PivotEngine</a>.</p>
									<p>The default value for this property is <strong>false</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="sortablegroups" class="tsd-anchor"></a>
								<h3>sortableGroups</h3>
								<div class="tsd-signature tsd-kind-icon">sortable<wbr>Groups<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or 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.</p>
									</div>
									<p>The default value for this property is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="totalsbeforedata" class="tsd-anchor"></a>
								<h3>totalsBeforeData</h3>
								<div class="tsd-signature tsd-kind-icon">totals<wbr>Before<wbr>Data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether row and column totals
										should be displayed before or after regular data rows and columns.</p>
									</div>
									<p>If this value is set to true, total rows appear above data rows
									and total columns appear on the left of regular data columns.</p>
									<p>The default value for this property is <strong>false</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="valuefields" class="tsd-anchor"></a>
								<h3>valueFields</h3>
								<div class="tsd-signature tsd-kind-icon">value<wbr>Fields<span class="tsd-signature-symbol">:</span> <a href="wijmo_olap.pivotfieldcollection.html" class="tsd-signature-type">PivotFieldCollection</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the list of <a href="wijmo_olap.pivotfield.html">PivotField</a> objects that define the fields
										summarized in the output table.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="viewdefinition" class="tsd-anchor"></a>
								<h3>viewDefinition</h3>
								<div class="tsd-signature tsd-kind-icon">view<wbr>Definition<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the current pivot view definition as a JSON string.</p>
									</div>
									<p>This property is typically used to persist the current view as
									an application setting.</p>
									<p>For example, the code below implements two functions that save
									and load view definitions using local storage:</p>
									<pre><code class="language-typescript"><span class="hljs-comment">// save/load views</span>
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">saveView</span>(<span class="hljs-params"></span>) </span>{
  localStorage.viewDefinition = pivotEngine.viewDefinition;
}
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">loadView</span>(<span class="hljs-params"></span>) </span>{
  pivotEngine.viewDefinition = localStorage.viewDefinition;
}</code></pre>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Methods</h2>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="beginupdate" class="tsd-anchor"></a>
								<h3>beginUpdate</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">begin<wbr>Update<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Suspends the refresh processes until next call to the <a href="wijmo_olap.pivotengine.html#endupdate">endUpdate</a>.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="cancelpendingupdates" class="tsd-anchor"></a>
								<h3>cancelPendingUpdates</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">cancel<wbr>Pending<wbr>Updates<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Cancels any pending asynchronous view updates.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="deferupdate" class="tsd-anchor"></a>
								<h3>deferUpdate</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">defer<wbr>Update<span class="tsd-signature-symbol">(</span>fn<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Executes a function within a <a href="wijmo_olap.pivotengine.html#beginupdate">beginUpdate</a>/<a href="wijmo_olap.pivotengine.html#endupdate">endUpdate</a> block.</p>
											</div>
											<p>The control will not be updated until the function has been executed.
												This method ensures <a href="wijmo_olap.pivotengine.html#endupdate">endUpdate</a> is called even if the function throws
											an exception.</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>fn: <span class="tsd-signature-type">Function</span></h5>
												<div class="tsd-comment">
													<p>Function to be executed.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="editfield" class="tsd-anchor"></a>
								<h3>editField</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">edit<wbr>Field<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><a href="wijmo_olap.pivotfield.html" class="tsd-signature-type">PivotField</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Shows a settings dialog where users can edit a field's settings.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>field: <a href="wijmo_olap.pivotfield.html" class="tsd-signature-type">PivotField</a></h5>
												<div class="tsd-comment">
													<p><a href="wijmo_olap.pivotfield.html">PivotField</a> to be edited.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="endupdate" class="tsd-anchor"></a>
								<h3>endUpdate</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">end<wbr>Update<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Resumes refresh processes suspended by calls to <a href="wijmo_olap.pivotengine.html#beginupdate">beginUpdate</a>.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getdetail" class="tsd-anchor"></a>
								<h3>getDetail</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Detail<span class="tsd-signature-symbol">(</span>item<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, binding<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets an array containing the records summarized by a property in the
												<a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
											</div>
											<p>If the engine is connected to a PivotEngine server, the value returned
											is an <a href="wijmo.observablearray.html">ObservableArray</a> that is populated asynchronously.</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>item: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<p>Data item in the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
												</div>
											</li>
											<li>
												<h5>binding: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>Name of the property being summarized.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getdetailview" class="tsd-anchor"></a>
								<h3>getDetailView</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Detail<wbr>View<span class="tsd-signature-symbol">(</span>item<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, binding<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/wijmo.icollectionview.html" class="tsd-signature-type">ICollectionView</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets an {@link collections.ICollectionView} containing the records summarized
												by a property in the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>item: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<p>Data item in the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
												</div>
											</li>
											<li>
												<h5>binding: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>Name of the property being summarized.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="../interfaces/wijmo.icollectionview.html" class="tsd-signature-type">ICollectionView</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">&gt;</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getkeys" class="tsd-anchor"></a>
								<h3>getKeys</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Keys<span class="tsd-signature-symbol">(</span>item<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, binding<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets an object with information about a property in the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
											</div>
											<p>The object returned has two properties, 'rowKey' and 'colKey'. Each of
												these contains two arrays, 'fields' and 'values'. Together, this information
											uniquely identifies a value summarized by the <a href="wijmo_olap.pivotengine.html">PivotEngine</a>.</p>
											<p>For example, calling <a href="wijmo_olap.pivotengine.html#getkeys">getKeys</a> against a pivot view with two row fields
												'Product' and 'Country', and a single column field 'Active' would return an
											object such as this one:</p>
											<pre><code>{
    <span class="hljs-attribute">rowKey</span>: {
        fields: [ <span class="hljs-string">'Product'</span>, <span class="hljs-string">'Country'</span>],
        values: [ <span class="hljs-string">'Aoba'</span>, <span class="hljs-string">'Japan'</span> ]
    },
    <span class="hljs-selector-tag">colKey</span>: {
        <span class="hljs-attribute">fields</span>: [ <span class="hljs-string">'Active'</span> ],
        values: [ true ]
    }
}</code></pre><p>The object identifies the subset of data used to obtain one summary value.
												In this case, this value represents all data items for product 'Aoba' sold
											in Japan with Active state set to true.</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>item: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<p>Data item in the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
												</div>
											</li>
											<li>
												<h5>binding: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>Name of the property being summarized.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="invalidate" class="tsd-anchor"></a>
								<h3>invalidate</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">invalidate<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Invalidates the view causing an asynchronous refresh.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="onerror" class="tsd-anchor"></a>
								<h3>onError</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">on<wbr>Error<span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">: </span><a href="wijmo.requesterroreventargs.html" class="tsd-signature-type">RequestErrorEventArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Raises the <a href="wijmo_olap.pivotengine.html#error">error</a> event.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>e: <a href="wijmo.requesterroreventargs.html" class="tsd-signature-type">RequestErrorEventArgs</a></h5>
												<div class="tsd-comment">
													<p><a href="wijmo.requesterroreventargs.html">RequestErrorEventArgs</a> that contains information about the error.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="onitemssourcechanged" class="tsd-anchor"></a>
								<h3>onItemsSourceChanged</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">on<wbr>Items<wbr>Source<wbr>Changed<span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">?: </span><a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Raises the <a href="wijmo_olap.pivotengine.html#itemssourcechanged">itemsSourceChanged</a> event.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> e: <a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a></h5>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="onupdatedview" class="tsd-anchor"></a>
								<h3>onUpdatedView</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">on<wbr>Updated<wbr>View<span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">?: </span><a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Raises the <a href="wijmo_olap.pivotengine.html#updatedview">updatedView</a> event.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> e: <a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a></h5>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="onupdatingview" class="tsd-anchor"></a>
								<h3>onUpdatingView</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">on<wbr>Updating<wbr>View<span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">: </span><a href="wijmo_olap.progresseventargs.html" class="tsd-signature-type">ProgressEventArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Raises the <a href="wijmo_olap.pivotengine.html#updatingview">updatingView</a> event.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>e: <a href="wijmo_olap.progresseventargs.html" class="tsd-signature-type">ProgressEventArgs</a></h5>
												<div class="tsd-comment">
													<p><a href="wijmo_olap.progresseventargs.html">ProgressEventArgs</a> that provides the event data.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="onviewdefinitionchanged" class="tsd-anchor"></a>
								<h3>onViewDefinitionChanged</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">on<wbr>View<wbr>Definition<wbr>Changed<span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">?: </span><a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Raises the <a href="wijmo_olap.pivotengine.html#viewdefinitionchanged">viewDefinitionChanged</a> event.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> e: <a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a></h5>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="refresh" class="tsd-anchor"></a>
								<h3>refresh</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">refresh<span class="tsd-signature-symbol">(</span>force<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Summarizes the data and updates the output <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a>.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> force: <span class="tsd-signature-type">boolean</span></h5>
												<div class="tsd-comment">
													<p>Refresh even while updating (see <a href="wijmo_olap.pivotengine.html#beginupdate">beginUpdate</a>).</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="removefield" class="tsd-anchor"></a>
								<h3>removeField</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">remove<wbr>Field<span class="tsd-signature-symbol">(</span>field<span class="tsd-signature-symbol">: </span><a href="wijmo_olap.pivotfield.html" class="tsd-signature-type">PivotField</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Removes a field from the current view.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>field: <a href="wijmo_olap.pivotfield.html" class="tsd-signature-type">PivotField</a></h5>
												<div class="tsd-comment">
													<p><a href="wijmo_olap.pivotfield.html">PivotField</a> to be removed.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Events</h2>
							<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class">
								<a name="error" class="tsd-anchor"></a>
								<h3>error</h3>
								<div class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">:</span> <a href="wijmo.event.html" class="tsd-signature-type">Event</a><span class="tsd-signature-symbol">&lt;</span><a href="wijmo_olap.pivotengine.html" class="tsd-signature-type">PivotEngine</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><a href="wijmo.requesterroreventargs.html" class="tsd-signature-type">RequestErrorEventArgs</a><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Occurs when there is an error getting data from the server.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class">
								<a name="itemssourcechanged" class="tsd-anchor"></a>
								<h3>itemsSourceChanged</h3>
								<div class="tsd-signature tsd-kind-icon">items<wbr>Source<wbr>Changed<span class="tsd-signature-symbol">:</span> <a href="wijmo.event.html" class="tsd-signature-type">Event</a><span class="tsd-signature-symbol">&lt;</span><a href="wijmo_olap.pivotengine.html" class="tsd-signature-type">PivotEngine</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Occurs after the value of the <a href="wijmo_olap.pivotengine.html#itemssource">itemsSource</a> property changes.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class">
								<a name="updatedview" class="tsd-anchor"></a>
								<h3>updatedView</h3>
								<div class="tsd-signature tsd-kind-icon">updated<wbr>View<span class="tsd-signature-symbol">:</span> <a href="wijmo.event.html" class="tsd-signature-type">Event</a><span class="tsd-signature-symbol">&lt;</span><a href="wijmo_olap.pivotengine.html" class="tsd-signature-type">PivotEngine</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Occurs after the engine has finished updating the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class">
								<a name="updatingview" class="tsd-anchor"></a>
								<h3>updatingView</h3>
								<div class="tsd-signature tsd-kind-icon">updating<wbr>View<span class="tsd-signature-symbol">:</span> <a href="wijmo.event.html" class="tsd-signature-type">Event</a><span class="tsd-signature-symbol">&lt;</span><a href="wijmo_olap.pivotengine.html" class="tsd-signature-type">PivotEngine</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><a href="wijmo_olap.progresseventargs.html" class="tsd-signature-type">ProgressEventArgs</a><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Occurs when the engine starts updating the <a href="wijmo_olap.pivotengine.html#pivotview">pivotView</a> list.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class">
								<a name="viewdefinitionchanged" class="tsd-anchor"></a>
								<h3>viewDefinitionChanged</h3>
								<div class="tsd-signature tsd-kind-icon">view<wbr>Definition<wbr>Changed<span class="tsd-signature-symbol">:</span> <a href="wijmo.event.html" class="tsd-signature-type">Event</a><span class="tsd-signature-symbol">&lt;</span><a href="wijmo_olap.pivotengine.html" class="tsd-signature-type">PivotEngine</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">, </span><a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Occurs after the view definition changes.</p>
									</div>
								</div>
							</section>
						</section>
					</div>