# FarPoint.Web.Spread.Model.GroupDataModel.Group

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_Model_GroupDataModel_Group_" data-uid="FarPoint.Web.Spread.Model.GroupDataModel.Group*">Group Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_Model_GroupDataModel_Group_" data-uid="FarPoint.Web.Spread.Model.GroupDataModel.Group*"></a>
<h4 id="FarPoint_Web_Spread_Model_GroupDataModel_Group_FarPoint_Web_Spread_SortInfo___" data-uid="FarPoint.Web.Spread.Model.GroupDataModel.Group(FarPoint.Web.Spread.SortInfo[])">Group(SortInfo[])</h4>
<div class="markdown level1 summary"><p>Groups the rows with the specified sort information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Group(SortInfo[] sortInfo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Group(sortInfo As SortInfo())</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.SortInfo.html">SortInfo</a>[]</td>
      <td><span class="parametername">sortInfo</span></td>
      <td><p>Sort information</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_Model_GroupDataModel_Group_" data-uid="FarPoint.Web.Spread.Model.GroupDataModel.Group*"></a>
<h4 id="FarPoint_Web_Spread_Model_GroupDataModel_Group_FarPoint_Web_Spread_SortInfo___System_Collections_IComparer_" data-uid="FarPoint.Web.Spread.Model.GroupDataModel.Group(FarPoint.Web.Spread.SortInfo[],System.Collections.IComparer)">Group(SortInfo[], IComparer)</h4>
<div class="markdown level1 summary"><p>Groups the rows with the specified sort information and specified comparer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Group(SortInfo[] sortInfo, IComparer groupComparer)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Group(sortInfo As SortInfo(), groupComparer As IComparer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.SortInfo.html">SortInfo</a>[]</td>
      <td><span class="parametername">sortInfo</span></td>
      <td><p>Sort information</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icomparer">IComparer</a></td>
      <td><span class="parametername">groupComparer</span></td>
      <td><p>Comparer</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.IGroupSupport.Group.html#FarPoint_Web_Spread_Model_IGroupSupport_Group_FarPoint_Web_Spread_SortInfo___System_Collections_IComparer_">IGroupSupport.Group(SortInfo[], IComparer)</a></div>
</div>
