# ITable

## Content

<div class="docapp-java-api-doc-main"><style>:not(h1, h2, h3, h4, h5, h6)>code,
:not(h1, h2, h3, h4, h5, h6)>tt {
    font-size: 14px;
    padding-top: 4px;
    margin-top: 8px;
    line-height: 1.4em;
}

.summary-table dt code {
    font-size: 14px;
    vertical-align: top;
    padding-top: 4px;
}

.tab {
    background-color: #0066FF;
    color: #ffffff;
    padding: 8px;
    width: 5em;
    font-weight: bold;
}

/*
 * Styles for page header and footer.
 */
.title {
    color: #2c4557;
    margin: 10px 0;
}

.sub-title {
    margin: 5px 0 0 0;
}

.header ul {
    margin: 0 0 15px 0;
    padding: 0;
}

.header ul li,
.footer ul li {
    list-style: none;
}

/*
 * Styles for headings.
 */
.summary h2,
.details h2,
h2,
.block-list h2 {
    padding: 0;
    margin: 15px 0;
}

.summary h3,
.details h3,
.summary .inherited-list h2 {
    background-color: var(--ds-product-color);
    color: #fff;
    border: 1px solid #d0d9e0;
    padding: 7px 5px;
}

.summary h3 a,
.details h3 a,
.summary .inherited-list h2 a {
    color: #fff !important;
}
/*
 * Styles for page layout containers.
 */
dl.notes>dt {
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0 0 0;
    color: #4E4E4E;
}

dl.notes>dd {
    margin: 5px 10px 10px 0;
    font-size: 14px;
}

dl.name-value>dt {
    margin-left: 1px;
    font-size: 1.1em;
    display: inline;
    font-weight: bold;
}

dl.name-value>dd {
    margin: 0 0 0 1px;
    font-size: 1.1em;
    display: inline;
}

/*
 * Styles for lists.
 */
li.circle {
    list-style: circle;
}

ul.horizontal li {
    display: inline;
    font-size: 0.9em;
}

div.inheritance {
    margin: 0;
    padding: 0;
}

div.inheritance div.inheritance {
    margin-left: 2em;
}

ul.block-list,
ul.details-list,
ul.member-list,
ul.summary-list {
    margin: 10px 0 10px 0;
    padding: 0;
}

ul.block-list>li,
ul.details-list>li,
ul.member-list>li,
ul.summary-list>li {
    list-style: none;
    margin-bottom: 15px;
    line-height: 1.4;
}

.summary-table dl,
.summary-table dl dt,
.summary-table dl dd {
    margin-top: 0;
    margin-bottom: 1px;
}

ul.see-list,
ul.see-list-long {
    padding-left: 0;
    list-style: none;
}

ul.see-list li {
    display: inline;
}

ul.see-list li:not(:last-child):after,
ul.see-list-long li:not(:last-child):after {
    content: ", ";
    white-space: pre-wrap;
}

/*
 * Styles for tables.
 */
.summary-table,
.details-table {
    width: 100%;
    border-spacing: 0;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    padding: 0;
}

.caption {
    position: relative;
    text-align: left;
    background-repeat: no-repeat;
    color: #253441;
    font-weight: bold;
    clear: none;
    overflow: hidden;
    padding: 0;
    padding-top: 10px;
    padding-left: 1px;
    margin: 0;
    white-space: pre;
}

.caption a:link,
.caption a:visited {
    color: #1f389c;
}

.caption a:hover,
.caption a:active {
    color: #FFFFFF;
}

.caption span {
    white-space: nowrap;
    padding-top: 5px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 7px;
    display: inline-block;
    background-color: var(--ds-product-color);
    color: #fff;
    border: none;
}

div.table-tabs {
    padding: 10px 0 0 1px;
    margin: 0;
}

div.table-tabs>button {
    border: none;
    cursor: pointer;
    padding: 5px 12px 7px 12px;
    font-weight: bold;
    margin-right: 3px;
}

div.table-tabs>button.active-table-tab {
    background: var(--ds-product-color);
    color: #fff;
}

div.table-tabs>button.table-tab {
    background: var(--ds-product-color);
    color: #FFFFFF;
    border-bottom: 1px solid #eee;
}

.two-column-summary {
    display: grid;
    grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
}

.three-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto);
}

.four-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto);
}

@media screen and (max-width: 600px) {
    .two-column-summary {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 800px) {
    .three-column-summary {
        display: grid;
        grid-template-columns: minmax(10%, max-content) minmax(25%, auto);
    }

    .three-column-summary .col-last {
        grid-column-end: span 2;
    }
}

@media screen and (max-width: 1000px) {
    .four-column-summary {
        display: grid;
        grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
    }
}

.summary-table>div,
.details-table>div {
    text-align: left;
    padding: 8px 3px 3px 7px;
}

.col-first,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name {
    vertical-align: top;
    padding-right: 0;
    padding-top: 8px;
    padding-bottom: 3px;
}

.table-header {
    background: var(--ds-product-color);
    color: #fff;
    font-weight: bold;
}

.col-first,
.col-first {
    font-size: 13px;
}

.col-second,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name,
.col-last {
    font-size: 13px;
}

.col-first,
.col-second,
.col-constructor-name {
    vertical-align: top;
    overflow: auto;
}

.col-last {
    white-space: normal;
}

.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-constructor-name a:link,
.col-constructor-name a:visited,
.col-summary-item-name a:link,
.col-summary-item-name a:visited,
.constant-values-container a:link,
.constant-values-container a:visited,
.all-classes-container a:link,
.all-classes-container a:visited,
.all-packages-container a:link,
.all-packages-container a:visited {
    font-weight: bold;
}

.table-sub-heading-color {
    background-color: #EEEEFF;
}

.even-row-color,
.even-row-color .table-header {
    background-color: #FFFFFF;
}

.odd-row-color,
.odd-row-color .table-header {
    background-color: #EEEEEF;
}

/*
 * Styles for contents.
 */
.deprecated-content {
    margin: 0;
    padding: 10px 0;
}

div.block {
    font-size: 14px;
}

.col-last div {
    padding-top: 0;
}

.col-last a {
    padding-bottom: 3px;
}

.module-signature,
.package-signature,
.type-signature,
.member-signature {
    font-size: 14px;
    margin: 14px 0;
    white-space: pre-wrap;
}

.module-signature,
.package-signature,
.type-signature {
    margin-top: 0;
}

.member-signature .type-parameters-long,
.member-signature .parameters,
.member-signature .exceptions {
    display: inline-block;
    vertical-align: top;
    white-space: pre;
}

.member-signature .type-parameters {
    white-space: normal;
}

/*
 * Styles for formatting effect.
 */
.source-line-no {
    color: green;
    padding: 0 30px 0 0;
}

h1.hidden {
    visibility: hidden;
    overflow: hidden;
    font-size: 10px;
}

.block {
    display: block;
    margin: 0 10px 5px 0;
    color: #474747;
}

.deprecated-label,
.descfrm-type-label,
.implementation-label,
.member-name-label,
.member-name-link,
.module-label-in-package,
.module-label-in-type,
.override-specify-label,
.package-label-in-type,
.package-hierarchy-label,
.type-name-label,
.type-name-link,
.search-tag-link,
.preview-label {
    font-weight: bold;
}

.deprecation-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

.preview-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

/*
 * Styles for user-provided tables.
 *
 * borderless:
 *      No borders, vertical margins, styled caption.
 *      This style is provided for use with existing doc comments.
 *      In general, borderless tables should not be used for layout purposes.
 *
 * plain:
 *      Plain borders around table and cells, vertical margins, styled caption.
 *      Best for small tables or for complex tables for tables with cells that span
 *      rows and columns, when the "striped" style does not work well.
 *
 * striped:
 *      Borders around the table and vertical borders between cells, striped rows,
 *      vertical margins, styled caption.
 *      Best for tables that have a header row, and a body containing a series of simple rows.
 */

table.borderless,
table.plain,
table.striped {
    margin-top: 10px;
    margin-bottom: 10px;
}

table.borderless>caption,
table.plain>caption,
table.striped>caption {
    font-weight: bold;
    font-size: smaller;
}

table.borderless th,
table.borderless td,
table.plain th,
table.plain td,
table.striped th,
table.striped td {
    padding: 2px 5px;
}

table.borderless,
table.borderless>thead>tr>th,
table.borderless>tbody>tr>th,
table.borderless>tr>th,
table.borderless>thead>tr>td,
table.borderless>tbody>tr>td,
table.borderless>tr>td {
    border: none;
}

table.borderless>thead>tr,
table.borderless>tbody>tr,
table.borderless>tr {
    background-color: transparent;
}

table.plain {
    border-collapse: collapse;
    border: 1px solid black;
}

table.plain>thead>tr,
table.plain>tbody tr,
table.plain>tr {
    background-color: transparent;
}

table.plain>thead>tr>th,
table.plain>tbody>tr>th,
table.plain>tr>th,
table.plain>thead>tr>td,
table.plain>tbody>tr>td,
table.plain>tr>td {
    border: 1px solid black;
}

table.striped {
    border-collapse: collapse;
    border: 1px solid black;
}

table.striped>thead {
    background-color: #E3E3E3;
}

table.striped>thead>tr>th,
table.striped>thead>tr>td {
    border: 1px solid black;
}

table.striped>tbody>tr:nth-child(even) {
    background-color: #EEE
}

table.striped>tbody>tr:nth-child(odd) {
    background-color: #FFF
}

table.striped>tbody>tr>th,
table.striped>tbody>tr>td {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

table.striped>tbody>tr>th {
    font-weight: normal;
}
</style><h1>Interface ITable</h1>
<!-- ======== START OF CLASS DATA ======== -->

<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">ITable</span></div>
<div class="block">Represents a table object on a worksheet. <p>An  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> defines a structured data region that can include a header row, data rows, totals, filtering, sorting, and table-specific formatting. Calling  <a href="ITables.html#add(com.grapecity.documents.excel.IRange,boolean)"><code>ITables.add(IRange,boolean)</code></a> to add a table to a worksheet returns an <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> object.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Hello", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setDisplayName("Table1");
 </code></pre></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div aria-orientation="horizontal" class="table-tabs" role="tablist"><button aria-controls="method-summary-table.tabpanel" aria-selected="true" class="active-table-tab" id="method-summary-table-tab0" onclick="show('method-summary-table', 'method-summary-table', 3)" onkeydown="switchTab(event)" role="tab" tabindex="0">All Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab2" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Instance Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab3" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div aria-labelledby="method-summary-table-tab0" class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#convertToRange()">convertToRange</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Converts this table to a regular range of cells.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#delete()">delete</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Deletes this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> object and clears the cell data from the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#fromJson(java.lang.String)">fromJson</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;json)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates the table from the specified JSON string.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel">IAutoFilter</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getAutoFilter()">getAutoFilter</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel"><code>IAutoFilter</code></a> for this table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getAutoGenerateColumns()">getAutoGenerateColumns</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the table generates columns automatically when it is bound to a data source.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBindingPath()">getBindingPath</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the binding path of the current table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ITableColumns.html" title="interface in com.grapecity.documents.excel">ITableColumns</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getColumns()">getColumns</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of columns in this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getComment()">getComment</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the comment associated with the table object.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDataRange()">getDataRange</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that represents the data area of the table.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDisplayName()">getDisplayName</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the display name of this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getExpandBoundRows()">getExpandBoundRows</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the table can add or delete entire worksheet rows during data binding.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getHeaderRange()">getHeaderRange</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the header row of the table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getName()">getName</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the name of the table.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRange()">getRange</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the range to which the specified table object applies.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ITableRows.html" title="interface in com.grapecity.documents.excel">ITableRows</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRows()">getRows</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the collection of data rows in this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowAutoFilter()">getShowAutoFilter</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the AutoFilter is displayed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowAutoFilterDropDown()">getShowAutoFilterDropDown</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the table filter button is visible.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowHeaders()">getShowHeaders</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> displays the header row that contains column names.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowTableStyleColumnStripes()">getShowTableStyleColumnStripes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the column stripe table style is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowTableStyleFirstColumn()">getShowTableStyleFirstColumn</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the table style is applied to the first column.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowTableStyleLastColumn()">getShowTableStyleLastColumn</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the table style is applied to the last column.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowTableStyleRowStripes()">getShowTableStyleRowStripes</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether banded rows are displayed for this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShowTotals()">getShowTotals</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the totals row is visible.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ISort.html" title="interface in com.grapecity.documents.excel">ISort</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSort()">getSort</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the sort settings for this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ITableStyle.html" title="interface in com.grapecity.documents.excel">ITableStyle</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getTableStyle()">getTableStyle</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the table style applied to the table.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getTotalsRange()">getTotalsRange</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the totals row range of the table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#resize(com.grapecity.documents.excel.IRange)">resize</a><wbr>(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Resizes this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> to a new range without inserting or moving cells.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setAutoGenerateColumns(boolean)">setAutoGenerateColumns</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the table generates columns automatically when it is bound to a data source.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setBindingPath(java.lang.String)">setBindingPath</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the binding path of the current table.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setComment(java.lang.String)">setComment</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the comment associated with the table object.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setDisplayName(java.lang.String)">setDisplayName</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the display name for the specified  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setExpandBoundRows(boolean)">setExpandBoundRows</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the table can add or delete entire worksheet rows during data binding.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setName(java.lang.String)">setName</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the name of the table.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowAutoFilter(boolean)">setShowAutoFilter</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the AutoFilter is displayed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowAutoFilterDropDown(boolean)">setShowAutoFilterDropDown</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the table filter button is visible.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowHeaders(boolean)">setShowHeaders</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> displays the header row that contains column names.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowTableStyleColumnStripes(boolean)">setShowTableStyleColumnStripes</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the column stripe table style is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowTableStyleFirstColumn(boolean)">setShowTableStyleFirstColumn</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the first-column table style element is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowTableStyleLastColumn(boolean)">setShowTableStyleLastColumn</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the last-column table style element is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowTableStyleRowStripes(boolean)">setShowTableStyleRowStripes</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether banded rows are displayed for this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setShowTotals(boolean)">setShowTotals</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the totals row is visible.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#setTableStyle(com.grapecity.documents.excel.ITableStyle)">setTableStyle</a><wbr>(<a href="ITableStyle.html" title="interface in com.grapecity.documents.excel">ITableStyle</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the table style applied to the table.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#toJson()">toJson</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates a JSON string from the table.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getName()">
<h3>getName</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">getName</span>()</div>
<div class="block">Gets the name of the table. <p>Use this method to retrieve the table name that identifies the table in the worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setName("SalesTable");
 String name = table.getName();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The name of the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setName(java.lang.String)">
<h3>setName</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setName</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</span></div>
<div class="block">Sets the name of the table. <p>Use this method to set the table name that identifies the table in the worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setName("SalesTable");
 ITable namedTable = worksheet.getTables().get("SalesTable");
 String namedTableAddress = namedTable.getRange().getAddress();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The name of the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDisplayName()">
<h3>getDisplayName</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">getDisplayName</span>()</div>
<div class="block">Gets the display name of this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>The display name is the user-facing name of the table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setDisplayName("SalesTable");
 String displayName = table.getDisplayName();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The display name of this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDisplayName(java.lang.String)">
<h3>setDisplayName</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDisplayName</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</span></div>
<div class="block">Sets the display name for the specified  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>The display name is the user-facing name of the table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setDisplayName("SalesTable");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The display name for the specified <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getComment()">
<h3>getComment</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">getComment</span>()</div>
<div class="block">Gets the comment associated with the table object. <p>This method returns the text previously assigned through  <a href="#setComment(java.lang.String)"><code>setComment(String)</code></a> for the current table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Total", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setComment("Monthly summary table");
 String comment = table.getComment();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The comment associated with the table object.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setComment(java.lang.String)">
<h3>setComment</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setComment</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</span></div>
<div class="block">Sets the comment associated with the table object. <p>Use this method to assign the comment text for the current table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Total", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setComment("Monthly summary table");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The comment associated with the table object.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSort()">
<h3>getSort</h3>
<div class="member-signature"><span class="return-type"><a href="ISort.html" title="interface in com.grapecity.documents.excel">ISort</a></span>&nbsp;<span class="element-name">getSort</span>()</div>
<div class="block">Gets the sort settings for this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>The returned  <a href="ISort.html" title="interface in com.grapecity.documents.excel"><code>ISort</code></a> object provides access to the sort fields and sort order applied to the table data. After configuring the sort fields, call  <a href="ISort.html#apply()"><code>ISort.apply()</code></a> to sort the table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Name", "Score"},
     {"Tom", 80},
     {"Nancy", 95},
     {"Jack", 88}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B4"), true);
 ISort sort = table.getSort();
 sort.getSortFields().add(new ValueSortField(worksheet.getRange("B2:B4"), SortOrder.Descending));
 sort.apply();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The sort settings for this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutoFilter()">
<h3>getAutoFilter</h3>
<div class="member-signature"><span class="return-type"><a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel">IAutoFilter</a></span>&nbsp;<span class="element-name">getAutoFilter</span>()</div>
<div class="block">Gets the  <a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel"><code>IAutoFilter</code></a> for this table.<p>The returned auto filter represents the filtering settings that apply to  the table range.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C4").setValue(new Object[][] {
     {"Name", "Value", "Category"},
     {"A", 100, "X"},
     {"B", 200, "Y"},
     {"C", 100, "X"}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:C4"), true);
 table.getRange().autoFilter(2, "X");
 IAutoFilter autoFilter = table.getAutoFilter();
 Object criteria1 = autoFilter.getFilters().get(2).getCriteria1();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel"><code>IAutoFilter</code></a> for this table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRange()">
<h3>getRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getRange</span>()</div>
<div class="block">Returns the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the range to which the specified table object applies.
 <pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {{"Name", "Value"}, {"A", 100}, {"B", 200}});
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 IRange tableRange = table.getRange();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the range to which the specified table object applies.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDataRange()">
<h3>getDataRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getDataRange</span>()</div>
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that represents the data area of the table.<p>The returned range contains the table rows between the header row and the insert row.  It does not include the header row.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Apple", 100},
     {"Pear", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 IRange dataRange = table.getDataRange();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that represents the data area of the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHeaderRange()">
<h3>getHeaderRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getHeaderRange</span>()</div>
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the header row of the table.<p>Use this method to access the cells that contain the table column headers.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Pear", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 IRange headerRange = table.getHeaderRange();
 headerRange.get(0, 1).setValue("Total");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the header row of the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTotalsRange()">
<h3>getTotalsRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getTotalsRange</span>()</div>
<div class="block">Gets the totals row range of the table. <p>Returns the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that represents the totals row of this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> when the totals row is visible.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTotals(true);
 IRange totalsRange = table.getTotalsRange();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that represents the totals row of the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowAutoFilter()">
<h3>getShowAutoFilter</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowAutoFilter</span>()</div>
<div class="block">Gets whether the AutoFilter is displayed. <p>This method returns  <code>true</code> only when the table headers are displayed and AutoFilter is enabled for the table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Hello", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowAutoFilter(true);
 boolean showAutoFilter = table.getShowAutoFilter();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the AutoFilter is displayed; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowAutoFilter(boolean)">
<h3>setShowAutoFilter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowAutoFilter</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the AutoFilter is displayed. <p>This method Sets  <code>true</code> only when the table headers are displayed and AutoFilter is enabled for the table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Hello", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowAutoFilter(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the AutoFilter is displayed.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowAutoFilterDropDown()">
<h3>getShowAutoFilterDropDown</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowAutoFilterDropDown</span>()</div>
<div class="block">Gets whether the table filter button is visible. <p>This property indicates whether the drop-down buttons are shown in the table header row.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Hello", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 boolean showAutoFilterDropDown = table.getShowAutoFilterDropDown();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the table filter button is visible; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowAutoFilterDropDown(boolean)">
<h3>setShowAutoFilterDropDown</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowAutoFilterDropDown</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the table filter button is visible. <p>This property indicates whether the drop-down buttons are shown in the table header row.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Hello", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowAutoFilterDropDown(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the table filter button is visible.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowHeaders()">
<h3>getShowHeaders</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowHeaders</span>()</div>
<div class="block">Gets whether this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> displays the header row that contains column names. <p>Use this property to check whether the table displays a header row  that contains column names.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 boolean showHeaders = table.getShowHeaders();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> displays the header row that contains column names; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowHeaders(boolean)">
<h3>setShowHeaders</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowHeaders</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> displays the header row that contains column names. <p>Use this property to set whether the table displays a header row that  contains column names.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowHeaders(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> displays the header row that contains column names.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowTableStyleColumnStripes()">
<h3>getShowTableStyleColumnStripes</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowTableStyleColumnStripes</span>()</div>
<div class="block">Gets whether the column stripe table style is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>When this property is  <code>true</code>, the applied table style uses alternating  formatting for table columns.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C3").setValue(new Object[][] {
     {"Name", "Q1", "Q2"},
     {"Tea", 100, 120},
     {"Coffee", 90, 110}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:C3"), true);
 table.setShowTableStyleColumnStripes(true);
 boolean showColumnStripes = table.getShowTableStyleColumnStripes();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the column stripe table style is applied to this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowTableStyleColumnStripes(boolean)">
<h3>setShowTableStyleColumnStripes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowTableStyleColumnStripes</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the column stripe table style is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>When this property is  <code>true</code>, the applied table style uses alternating  formatting for table columns.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C3").setValue(new Object[][] {
     {"Name", "Q1", "Q2"},
     {"Tea", 100, 120},
     {"Coffee", 90, 110}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:C3"), true);
 table.setShowTableStyleColumnStripes(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the column stripe table style is applied to this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowTableStyleFirstColumn()">
<h3>getShowTableStyleFirstColumn</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowTableStyleFirstColumn</span>()</div>
<div class="block">Gets whether the table style is applied to the first column. <p>This property indicates whether the table style is applied to the first column  of the current  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTableStyleFirstColumn(true);
 boolean showFirstColumn = table.getShowTableStyleFirstColumn();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the table style is applied to the first column; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowTableStyleFirstColumn(boolean)">
<h3>setShowTableStyleFirstColumn</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowTableStyleFirstColumn</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the first-column table style element is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>This property indicates whether the first-column table style element is applied  to the first column of the current  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTableStyleFirstColumn(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the first-column table style element is applied to the first column of the current <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowTableStyleLastColumn()">
<h3>getShowTableStyleLastColumn</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowTableStyleLastColumn</span>()</div>
<div class="block">Gets whether the table style is applied to the last column. <p>This property indicates whether the table style is applied to the last column  of the current  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Amount"},
     {"Apple", 100},
     {"Pear", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTableStyleLastColumn(true);
 boolean showTableStyleLastColumn = table.getShowTableStyleLastColumn();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the table style is applied to the last column; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowTableStyleLastColumn(boolean)">
<h3>setShowTableStyleLastColumn</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowTableStyleLastColumn</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the last-column table style element is applied to this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>This property indicates whether the last-column table style element is applied  to the last column of the current  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Amount"},
     {"Apple", 100},
     {"Pear", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTableStyleLastColumn(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the last column style is displayed for this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowTableStyleRowStripes()">
<h3>getShowTableStyleRowStripes</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowTableStyleRowStripes</span>()</div>
<div class="block">Gets whether banded rows are displayed for this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>When this property is  <code>true</code>, the applied table style uses alternating  row formatting.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Tea", 10},
     {"Coffee", 12}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 boolean showRowStripes = table.getShowTableStyleRowStripes();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if banded rows are displayed for this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowTableStyleRowStripes(boolean)">
<h3>setShowTableStyleRowStripes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowTableStyleRowStripes</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether banded rows are displayed for this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>When this property is  <code>true</code>, the applied table style uses alternating  row formatting.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Tea", 10},
     {"Coffee", 12}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTableStyleRowStripes(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether banded rows are displayed for this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowTotals()">
<h3>getShowTotals</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowTotals</span>()</div>
<div class="block">Gets whether the totals row is visible. <p>Use this method to determine whether the table currently displays a totals row.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTotals(true);
 boolean showTotals = table.getShowTotals();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the totals row is visible; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowTotals(boolean)">
<h3>setShowTotals</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowTotals</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the totals row is visible. <p>Use this method to set whether the table currently displays a totals row.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Product", "Amount"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setShowTotals(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the totals row is visible.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getColumns()">
<h3>getColumns</h3>
<div class="member-signature"><span class="return-type"><a href="ITableColumns.html" title="interface in com.grapecity.documents.excel">ITableColumns</a></span>&nbsp;<span class="element-name">getColumns</span>()</div>
<div class="block">Gets the collection of columns in this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>The returned  <a href="ITableColumns.html" title="interface in com.grapecity.documents.excel"><code>ITableColumns</code></a> collection contains all columns that belong to the table, including their names and data ranges.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Sales"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 ITableColumns columns = table.getColumns();
 ITableColumn salesColumn = columns.get(1);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ITableColumns.html" title="interface in com.grapecity.documents.excel"><code>ITableColumns</code></a> collection of columns in this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRows()">
<h3>getRows</h3>
<div class="member-signature"><span class="return-type"><a href="ITableRows.html" title="interface in com.grapecity.documents.excel">ITableRows</a></span>&nbsp;<span class="element-name">getRows</span>()</div>
<div class="block">Gets the collection of data rows in this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>. <p>The returned  <a href="ITableRows.html" title="interface in com.grapecity.documents.excel"><code>ITableRows</code></a> object contains the <a href="ITableRow.html" title="interface in com.grapecity.documents.excel"><code>ITableRow</code></a> objects that belong to the table data area.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Apple", 100},
     {"Pear", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 ITableRows rows = table.getRows();
 ITableRow firstRow = rows.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ITableRows.html" title="interface in com.grapecity.documents.excel"><code>ITableRows</code></a> collection of data rows in this <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTableStyle()">
<h3>getTableStyle</h3>
<div class="member-signature"><span class="return-type"><a href="ITableStyle.html" title="interface in com.grapecity.documents.excel">ITableStyle</a></span>&nbsp;<span class="element-name">getTableStyle</span>()</div>
<div class="block">Gets the table style applied to the table. <p>The returned  <a href="ITableStyle.html" title="interface in com.grapecity.documents.excel"><code>ITableStyle</code></a> represents the style currently applied to the table, including built-in and custom table styles.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setTableStyle(workbook.getTableStyles().get("TableStyleLight11"));
 ITableStyle tableStyle = table.getTableStyle();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The table style applied to the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTableStyle(com.grapecity.documents.excel.ITableStyle)">
<h3>setTableStyle</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setTableStyle</span><wbr><span class="parameters">(<a href="ITableStyle.html" title="interface in com.grapecity.documents.excel">ITableStyle</a>&nbsp;value)</span></div>
<div class="block">Sets the table style applied to the table. <p>Use this method to apply a built-in or custom table style to the table.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Apple", 100},
     {"Orange", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setTableStyle(workbook.getTableStyles().get("TableStyleLight11"));
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The table style applied to the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="resize(com.grapecity.documents.excel.IRange)">
<h3>resize</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">resize</span><wbr><span class="parameters">(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range)</span></div>
<div class="block">Resizes this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> to a new range without inserting or moving cells.<p>The new range must remain on the same header row as the current table and  must overlap the current table range. This method does not rearrange worksheet  cells; it only updates the table boundary.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:C4").setValue(new Object[][] {
     {"Name", "Region", "Sales"},
     {"Alice", "East", 100},
     {"Bob", "West", 120},
     {"Carol", "North", 140}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:C4"), true);
 worksheet.getRange("D1:D4").setValue(new Object[][] {
     {"Status"},
     {"Open"},
     {"Closed"},
     {"Open"}
 });
 table.resize(worksheet.getRange("A1:D4"));
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>range</code> - The new table range. Must be a single, non-empty <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that overlaps the current table range.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>range</code> is <code>null</code>, empty, contains multiple selections, does not overlap the current table range, or does not start on the same row as the current table.</dd>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if the table is bound to a data manager.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="delete()">
<h3>delete</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">delete</span>()</div>
<div class="block">Deletes this  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> object and clears the cell data from the worksheet.<p>Use this method to remove both the table definition and the cells covered by the table.  To keep the data and remove only the table object, use  <a href="#convertToRange()"><code>convertToRange()</code></a> instead.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Sample", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.delete();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="getBindingPath()">
<h3>getBindingPath</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">getBindingPath</span>()</div>
<div class="block">Gets the binding path of the current table. <p>The binding path identifies the data path used when the table is bound to a data source.</p>
<pre><code data-language="Java">
 worksheet.setDataSource(new JsonDataSource(
     "{\"sales\":[{\"name\":\"Alice\",\"amount\":100},{\"name\":\"Bob\",\"amount\":200}]}"));
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.getColumns().get(0).setDataField("name");
 table.getColumns().get(1).setDataField("amount");
 table.setBindingPath("sales");
 String bindingPath = table.getBindingPath();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The binding path of the current table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBindingPath(java.lang.String)">
<h3>setBindingPath</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBindingPath</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</span></div>
<div class="block">Sets the binding path of the current table. <p>The binding path identifies the data path used when the table is bound to a data source.</p>
<pre><code data-language="Java">
 worksheet.setDataSource(new JsonDataSource(
     "{\"sales\":[{\"name\":\"Alice\",\"amount\":100},{\"name\":\"Bob\",\"amount\":200}]}"));
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.getColumns().get(0).setDataField("name");
 table.getColumns().get(1).setDataField("amount");
 table.setBindingPath("sales");
 Object firstName = worksheet.getRange("A2").getValue();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The binding path of the current table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutoGenerateColumns()">
<h3>getAutoGenerateColumns</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getAutoGenerateColumns</span>()</div>
<div class="block">Gets whether the table generates columns automatically when it is bound to a data source. <p>When this property is  <code>true</code>, the table can create columns from the fields  in the bound data source during data binding.</p>
<pre><code data-language="Java">
 worksheet.setDataSource(new JsonDataSource("{\"ds\":[{\"name\":\"jack\",\"age\":12}]}"));
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:C2"), true);
 table.setAutoGenerateColumns(true);
 table.setBindingPath("ds");
 boolean autoGenerateColumns = table.getAutoGenerateColumns();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the table generates columns automatically when it is bound to a data source; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAutoGenerateColumns(boolean)">
<h3>setAutoGenerateColumns</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setAutoGenerateColumns</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the table generates columns automatically when it is bound to a data source. <p>When this property is  <code>true</code>, the table can create columns from the fields  in the bound data source during data binding.</p>
<pre><code data-language="Java">
 worksheet.setDataSource(new JsonDataSource("{\"ds\":[{\"name\":\"jack\",\"age\":12}]}"));
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:C2"), true);
 table.setAutoGenerateColumns(true);
 table.setBindingPath("ds");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the table generates columns automatically when it is bound to a data source.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="fromJson(java.lang.String)">
<h3>fromJson</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">fromJson</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;json)</span></div>
<div class="block">Generates the table from the specified JSON string.
 <pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {{"Name", "Value"}, {"A", 100}, {"B", 200}});
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 String json = table.toJson();
 table.fromJson(json);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>json</code> - The JSON string used to generate the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toJson()">
<h3>toJson</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">toJson</span>()</div>
<div class="block">Generates a JSON string from the table.
 <pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {{"Name", "Value"}, {"A", 100}, {"B", 200}});
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 String json = table.toJson();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The JSON string generated from the table.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getExpandBoundRows()">
<h3>getExpandBoundRows</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getExpandBoundRows</span>()</div>
<div class="block">Gets whether the table can add or delete entire worksheet rows during data binding. <p>This property indicates whether the table is allowed to expand or shrink by whole rows  when its bound data changes.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Item A", 100},
     {"Item B", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setExpandBoundRows(true);
 boolean expandBoundRows = table.getExpandBoundRows();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>true if the table can add or delete entire worksheet rows during data binding; otherwise, false.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setExpandBoundRows(boolean)">
<h3>setExpandBoundRows</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setExpandBoundRows</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the table can add or delete entire worksheet rows during data binding. <p>This property indicates whether the table is allowed to expand or shrink by whole rows  when its bound data changes.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Item A", 100},
     {"Item B", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.setExpandBoundRows(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Whether the table can add or delete entire worksheet rows during data binding.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="convertToRange()">
<h3>convertToRange</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">convertToRange</span>()</div>
<div class="block">Converts this table to a regular range of cells. <p>After calling this method, the cells remain on the worksheet as normal range data  instead of being managed as an  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100},
     {"Hello", 200}
 });
 ITable table = worksheet.getTables().add(worksheet.getRange("A1:B3"), true);
 table.convertToRange();
 </code></pre></div>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
<script>var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";

function show(tableId, selected, columns) {
    if (tableId !== selected) {
        document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')')
            .forEach(function (elem) {
                elem.style.display = 'none';
            });
    }
    document.querySelectorAll('div.' + selected)
        .forEach(function (elem, index) {
            elem.style.display = '';
            var isEvenRow = index % (columns * 2) < columns;
            elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor);
            elem.classList.add(isEvenRow ? evenRowColor : oddRowColor);
        });
    updateTabs(tableId, selected);
}

function updateTabs(tableId, selected) {
    document.querySelector('div#' + tableId + ' .summary-table')
        .setAttribute('aria-labelledby', selected);
    document.querySelectorAll('button[id^="' + tableId + '"]')
        .forEach(function (tab, index) {
            if (selected === tab.id || (tableId === selected && index === 0)) {
                tab.className = activeTableTab;
                tab.setAttribute('aria-selected', true);
                tab.setAttribute('tabindex', 0);
            } else {
                tab.className = tableTab;
                tab.setAttribute('aria-selected', false);
                tab.setAttribute('tabindex', -1);
            }
        });
}

function switchTab(e) {
    var selected = document.querySelector('[aria-selected=true]');
    if (selected) {
        if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) {
            // left or up arrow key pressed: move focus to previous tab
            selected.previousSibling.click();
            selected.previousSibling.focus();
            e.preventDefault();
        } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) {
            // right or down arrow key pressed: move focus to next tab
            selected.nextSibling.click();
            selected.nextSibling.focus();
            e.preventDefault();
        }
    }
}
</script></div>