# Wijmo.Collectionviewgroup

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								CollectionViewGroup Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Represents a group created by a <a href="wijmo.collectionview.html">CollectionView</a> object based on
									its <a href="wijmo.collectionview.html#groupdescriptions">CollectionView.groupDescriptions</a> property.</p>
								</div>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">CollectionViewGroup</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.collectionviewgroup.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.collectionviewgroup.html#groupdescription" class="tsd-kind-icon">group<wbr>Description</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.collectionviewgroup.html#groups" class="tsd-kind-icon">groups</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.collectionviewgroup.html#isbottomlevel" class="tsd-kind-icon">is<wbr>Bottom<wbr>Level</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.collectionviewgroup.html#items" class="tsd-kind-icon">items</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.collectionviewgroup.html#level" class="tsd-kind-icon">level</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.collectionviewgroup.html#name" class="tsd-kind-icon">name</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.collectionviewgroup.html#getaggregate" class="tsd-kind-icon">get<wbr>Aggregate</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>Collection<wbr>View<wbr>Group<span class="tsd-signature-symbol">(</span>groupDescription<span class="tsd-signature-symbol">: </span><a href="wijmo.groupdescription.html" class="tsd-signature-type">GroupDescription</a>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, level<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, isBottomLevel<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><a href="wijmo.collectionviewgroup.html" class="tsd-signature-type">CollectionViewGroup</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.collectionviewgroup.html">CollectionViewGroup</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>groupDescription: <a href="wijmo.groupdescription.html" class="tsd-signature-type">GroupDescription</a></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p><a href="wijmo.groupdescription.html">GroupDescription</a> that owns the new group.</p>
													</div>
												</div>
											</li>
											<li>
												<h5>name: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>Name of the new group.</p>
													</div>
												</div>
											</li>
											<li>
												<h5>level: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>Level of the new group.</p>
													</div>
												</div>
											</li>
											<li>
												<h5>isBottomLevel: <span class="tsd-signature-type">boolean</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>Whether this group has any subgroups.</p>
													</div>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo.collectionviewgroup.html" class="tsd-signature-type">CollectionViewGroup</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="groupdescription" class="tsd-anchor"></a>
								<h3>groupDescription</h3>
								<div class="tsd-signature tsd-kind-icon">group<wbr>Description<span class="tsd-signature-symbol">:</span> <a href="wijmo.groupdescription.html" class="tsd-signature-type">GroupDescription</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the <a href="wijmo.groupdescription.html">GroupDescription</a> that owns this group.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="groups" class="tsd-anchor"></a>
								<h3>groups</h3>
								<div class="tsd-signature tsd-kind-icon">groups<span class="tsd-signature-symbol">:</span> <a href="wijmo.collectionviewgroup.html" class="tsd-signature-type">CollectionViewGroup</a><span class="tsd-signature-symbol">[]</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets an array containing this group's subgroups.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="isbottomlevel" class="tsd-anchor"></a>
								<h3>isBottomLevel</h3>
								<div class="tsd-signature tsd-kind-icon">is<wbr>Bottom<wbr>Level<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 this group has any subgroups.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="items" class="tsd-anchor"></a>
								<h3>items</h3>
								<div class="tsd-signature tsd-kind-icon">items<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets an array containing the items included in this group (including all subgroups).</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="level" class="tsd-anchor"></a>
								<h3>level</h3>
								<div class="tsd-signature tsd-kind-icon">level<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 the level of this group.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="name" class="tsd-anchor"></a>
								<h3>name</h3>
								<div class="tsd-signature tsd-kind-icon">name<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 the name of this group.</p>
									</div>
								</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="getaggregate" class="tsd-anchor"></a>
								<h3>getAggregate</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Aggregate<span class="tsd-signature-symbol">(</span>aggType<span class="tsd-signature-symbol">: </span><a href="../enums/wijmo.aggregate.html" class="tsd-signature-type">Aggregate</a>, binding<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, view<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo.icollectionview.html" class="tsd-signature-type">ICollectionView</a>, sheet<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><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>Calculates an aggregate value for the items in this group.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>aggType: <a href="../enums/wijmo.aggregate.html" class="tsd-signature-type">Aggregate</a></h5>
												<div class="tsd-comment">
													<p>Type of aggregate to calculate.</p>
												</div>
											</li>
											<li>
												<h5>binding: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>Property to aggregate on.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> view: <a href="../interfaces/wijmo.icollectionview.html" class="tsd-signature-type">ICollectionView</a></h5>
												<div class="tsd-comment">
													<p>CollectionView that owns this group.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> sheet: <span class="tsd-signature-type">any</span></h5>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
										<p>The aggregate value.</p>
									</li>
								</ul>
							</section>
						</section>
					</div>