# wjGroupPanel Class

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								wjGroupPanel Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>KnockoutJS binding for the <a href="wijmo_grid.flexgrid.html">FlexGrid</a> <a href="wijmo_grid_grouppanel.grouppanel.html">GroupPanel</a> control.</p>
								</div>
								<p>The <b>wjGroupPanel</b> binding should be connected to the <b>FlexGrid</b> control using the <b>grid</b> property.
								For example:</p>
								<pre>&lt;p&gt;Here is a FlexGrid control with GroupPanel:&lt;/p&gt;
&nbsp;
&lt;div data-bind="wjGroupPanel: { grid: flex(), placeholder: 'Drag columns here to create groups.' }"&gt;&lt;/div&gt;
&nbsp;
&lt;div data-bind="wjFlexGrid: { control: flex, itemsSource: data }"&gt;
    &lt;div data-bind="wjFlexGridColumn: {
        header: 'Country',
        binding: 'country',
        width: '*' }"&gt;
    &lt;/div&gt;
    &lt;div data-bind="wjFlexGridColumn: {
        header: 'Date',
        binding: 'date' }"&gt;
    &lt;/div&gt;
    &lt;div data-bind="wjFlexGridColumn: {
        header: 'Revenue',
        binding: 'amount',
        format: 'n0' }"&gt;
    &lt;/div&gt;
    &lt;div data-bind="wjFlexGridColumn: {
        header: 'Active',
        binding: 'active' }"&gt;
    &lt;/div&gt;
&lt;/div&gt;</pre>
								<p>The <b>wjGroupPanel</b> binding supports all read-write properties and events of
								the <a href="wijmo_grid_grouppanel.grouppanel.html">GroupPanel</a> class.</p>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="tsd-signature-type">WjBinding</span>
									<ul class="tsd-hierarchy">
										<li>
											<span class="target">wjGroupPanel</span>
										</li>
									</ul>
								</li>
							</ul>
						</section>
					</div>