# Wijmo_Angular_Olap.Wjpivotgrid

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								WjPivotGrid Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>AngularJS directive for the <a href="wijmo_olap.pivotgrid.html">PivotGrid</a> control.</p>
								</div>
								<p>Use the <b>wj-pivot-grid</b> and <b>wj-pivot-panel</b> directives
								to add pivot tables to your AngularJS applications.</p>
								<p>Directive and parameter names must be formatted as lower-case with dashes
								instead of camel-case. For example:</p>
								<pre>&lt;wj-pivot-panel
    control="thePanel"
    items-source="rawData"&gt;
&lt;/wj-pivot-panel&gt;
&lt;wj-pivot-grid
    items-source="thePanel"
    show-detail-on-double-click="false"
    custom-context-menu="true"&gt;
&lt;/wj-pivot-grid&gt;</pre>
								<p>The <b>wj-pivot-grid</b> directive extends the <b>wj-flex-grid</b> directive
								and adds support for the following attributes:</p>
								<dl class="dl-horizontal">
									<dt>items-source</dt>                  <dd>Gets or sets the <a href="wijmo_olap.pivotpanel.html">PivotPanel</a> that defines the view
									displayed by this <a href="wijmo_olap.pivotgrid.html">PivotGrid</a>.</dd>
									<dt>show-detail-on-double-click</dt>   <dd>Gets or sets whether the grid should show a popup containing the
									detail records when the user double-clicks a cell.</dd>
									<dt>custom-context-menu</dt>           <dd>Gets or sets whether the grid should provide a custom context menu
									with commands for changing field settings and showing detail records.</dd>
									<dt>collapsible-subtotals</dt>         <dd>Gets or sets whether the grid should allow users to collapse and
									expand subtotal groups of rows and columns.</dd>
									<dt>center-headers-vertically</dt>     <dd>Gets or sets whether the content of header cells should be vertically centered.</dd>
								</dl>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<a href="wijmo_angular_grid.wjflexgrid.html" class="tsd-signature-type">WjFlexGrid</a>
									<ul class="tsd-hierarchy">
										<li>
											<span class="target">WjPivotGrid</span>
										</li>
									</ul>
								</li>
							</ul>
						</section>
					</div>