# C1.Web.Mvc.Sheet.Fluent.TableBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Sheet_Fluent_TableBuilder" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder" class="text-break">TableBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.Sheet.Table.html">Table</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="../C1.AspNetCore.Mvc/C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.Sheet.Table.html">Table</a>, <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.html">TableBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">TableBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.html">C1.Web.Mvc.Sheet.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.FlexSheet.dll</h6>
  <h5 id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TableBuilder : BaseBuilder&lt;Table, TableBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TableBuilder
    Inherits BaseBuilder(Of Table, TableBuilder)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder__ctor_C1_Web_Mvc_Sheet_Table_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.#ctor(C1.Web.Mvc.Sheet.Table)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.-ctor.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder__ctor_C1_Web_Mvc_Sheet_Table_">TableBuilder(Table)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.html">TableBuilder</a> instance to configurate <code class="paramref">obj</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_AlterFirstColumn_System_Boolean_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.AlterFirstColumn(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.AlterFirstColumn.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_AlterFirstColumn_System_Boolean_">AlterFirstColumn(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.AlterFirstColumn.html#C1_Web_Mvc_Sheet_Table_AlterFirstColumn">AlterFirstColumn</a>.
Sets a value that determines whether the first table column should have the style applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_AlterLastColumn_System_Boolean_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.AlterLastColumn(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.AlterLastColumn.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_AlterLastColumn_System_Boolean_">AlterLastColumn(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.AlterLastColumn.html#C1_Web_Mvc_Sheet_Table_AlterLastColumn">AlterLastColumn</a>.
Sets a value that determines whether the last table column should have the style applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Bind_System_Action_C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_System_Object___" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Bind(System.Action{C1.Web.Mvc.Fluent.CollectionViewServiceBuilder{System.Object}})">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Bind.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Bind_System_Action_C1_Web_Mvc_Fluent_CollectionViewServiceBuilder_System_Object___">Bind(Action&lt;CollectionViewServiceBuilder&lt;object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets ItemsSource by builder.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Bind_System_Collections_Generic_IEnumerable_System_Object__" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Bind(System.Collections.Generic.IEnumerable{System.Object})">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Bind.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Bind_System_Collections_Generic_IEnumerable_System_Object__">Bind(IEnumerable&lt;object&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Binds to a collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Bind_System_String_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Bind(System.String)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Bind.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Bind_System_String_">Bind(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the read action url.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_BindODataSource_System_Action_C1_Web_Mvc_Fluent_ODataCollectionViewServiceBuilder_System_Object___" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.BindODataSource(System.Action{C1.Web.Mvc.Fluent.ODataCollectionViewServiceBuilder{System.Object}})">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.BindODataSource.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_BindODataSource_System_Action_C1_Web_Mvc_Fluent_ODataCollectionViewServiceBuilder_System_Object___">BindODataSource(Action&lt;ODataCollectionViewServiceBuilder&lt;object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.ItemsSource.html#C1_Web_Mvc_Sheet_Table_ItemsSource">ItemsSource</a>.
Sets ItemsSource settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Columns_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_Sheet_TableColumn_C1_Web_Mvc_Sheet_Fluent_TableColumnBuilder___" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Columns(System.Action{C1.Web.Mvc.Fluent.ListItemFactory{C1.Web.Mvc.Sheet.TableColumn,C1.Web.Mvc.Sheet.Fluent.TableColumnBuilder}})">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Columns.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Columns_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_Sheet_TableColumn_C1_Web_Mvc_Sheet_Fluent_TableColumnBuilder___">Columns(Action&lt;ListItemFactory&lt;TableColumn, TableColumnBuilder&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Columns property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Name_System_String_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Name(System.String)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Name.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Name_System_String_">Name(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.Name.html#C1_Web_Mvc_Sheet_Table_Name">Name</a>.
Sets the table name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Range_C1_Web_Mvc_Grid_CellRange_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Range(C1.Web.Mvc.Grid.CellRange)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Range.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Range_C1_Web_Mvc_Grid_CellRange_">Range(CellRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Range property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Range_System_Int32_System_Int32_System_Nullable_System_Int32__System_Nullable_System_Int32__" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Range(System.Int32,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Int32})">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Range.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Range_System_Int32_System_Int32_System_Nullable_System_Int32__System_Nullable_System_Int32__">Range(int, int, int?, int?)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Range property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowBandedColumns_System_Boolean_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowBandedColumns(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowBandedColumns.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowBandedColumns_System_Boolean_">ShowBandedColumns(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.ShowBandedColumns.html#C1_Web_Mvc_Sheet_Table_ShowBandedColumns">ShowBandedColumns</a>.
Indicating whether banded column formatting is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowBandedRows_System_Boolean_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowBandedRows(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowBandedRows.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowBandedRows_System_Boolean_">ShowBandedRows(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.ShowBandedRows.html#C1_Web_Mvc_Sheet_Table_ShowBandedRows">ShowBandedRows</a>.
Sets a value that determines whether banded row formatting is applied.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowHeaderRow_System_Boolean_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowHeaderRow(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowHeaderRow.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowHeaderRow_System_Boolean_">ShowHeaderRow(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.ShowHeaderRow.html#C1_Web_Mvc_Sheet_Table_ShowHeaderRow">ShowHeaderRow</a>.
Indicates whether the table should include a header row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowTotalRow_System_Boolean_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowTotalRow(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.ShowTotalRow.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_ShowTotalRow_System_Boolean_">ShowTotalRow(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Sheet.Table.ShowTotalRow.html#C1_Web_Mvc_Sheet_Table_ShowTotalRow">ShowTotalRow</a>.
Indicates whether the table should include a total row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Sheet_Fluent_TableBuilder_Style_C1_Web_Mvc_Sheet_TableStyle_" data-uid="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Style(C1.Web.Mvc.Sheet.TableStyle)">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.TableBuilder.Style.html#C1_Web_Mvc_Sheet_Fluent_TableBuilder_Style_C1_Web_Mvc_Sheet_TableStyle_">Style(TableStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Style property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
