# Wijmo_Grid_Sheet.Table

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								Table Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Represents a Table within the <a href="wijmo_grid_sheet.flexsheet.html">FlexSheet</a> control.</p>
								</div>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">Table</span>
								</li>
							</ul>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Constructors
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#constructor" class="tsd-kind-icon">constructor</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Properties
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#alterfirstcolumn" class="tsd-kind-icon">alter<wbr>First<wbr>Column</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#alterlastcolumn" class="tsd-kind-icon">alter<wbr>Last<wbr>Column</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#name" class="tsd-kind-icon">name</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#sheet" class="tsd-kind-icon">sheet</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#showbandedcolumns" class="tsd-kind-icon">show<wbr>Banded<wbr>Columns</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#showbandedrows" class="tsd-kind-icon">show<wbr>Banded<wbr>Rows</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#showheaderrow" class="tsd-kind-icon">show<wbr>Header<wbr>Row</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#showtotalrow" class="tsd-kind-icon">show<wbr>Total<wbr>Row</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#style" class="tsd-kind-icon">style</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Methods
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#deleterows" class="tsd-kind-icon">delete<wbr>Rows</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#getcolumns" class="tsd-kind-icon">get<wbr>Columns</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#getrange" class="tsd-kind-icon">get<wbr>Range</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid_sheet.table.html#insertrows" class="tsd-kind-icon">insert<wbr>Rows</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Constructors</h2>
							<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
								<a name="constructor" class="tsd-anchor"></a>
								<h3>constructor</h3>
								<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">new <wbr>Table<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, range<span class="tsd-signature-symbol">: </span><a href="wijmo_grid.cellrange.html" class="tsd-signature-type">CellRange</a>, style<span class="tsd-signature-symbol">?: </span><a href="wijmo_grid_sheet.tablestyle.html" class="tsd-signature-type">TableStyle</a>, columns<span class="tsd-signature-symbol">?: </span><a href="wijmo_grid_sheet.tablecolumn.html" class="tsd-signature-type">TableColumn</a><span class="tsd-signature-symbol">[]</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_grid_sheet.itableoptions.html" class="tsd-signature-type">ITableOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_grid_sheet.table.html" class="tsd-signature-type">Table</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Initializes a new instance of the <a href="wijmo_grid_sheet.table.html">Table</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>name: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The name of the table.</p>
													</div>
												</div>
											</li>
											<li>
												<h5>range: <a href="wijmo_grid.cellrange.html" class="tsd-signature-type">CellRange</a></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The range of the table.</p>
													</div>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="wijmo_grid_sheet.tablestyle.html" class="tsd-signature-type">TableStyle</a></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The table style to use with the table.  The default style is the 'TableStyleMedium9' built-in table style, if the style is omitted.</p>
													</div>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> columns: <a href="wijmo_grid_sheet.tablecolumn.html" class="tsd-signature-type">TableColumn</a><span class="tsd-signature-symbol">[]</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The columns of the table.</p>
													</div>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_grid_sheet.itableoptions.html" class="tsd-signature-type">ITableOptions</a></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The options <a href="../interfaces/wijmo_grid_sheet.itableoptions.html">ITableOptions</a> of the table.</p>
													</div>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_grid_sheet.table.html" class="tsd-signature-type">Table</a></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Properties</h2>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="alterfirstcolumn" class="tsd-anchor"></a>
								<h3>alterFirstColumn</h3>
								<div class="tsd-signature tsd-kind-icon">alter<wbr>First<wbr>Column<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the first table
										column should have the style applied.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="alterlastcolumn" class="tsd-anchor"></a>
								<h3>alterLastColumn</h3>
								<div class="tsd-signature tsd-kind-icon">alter<wbr>Last<wbr>Column<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the last table
										column should have the style applied.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="name" class="tsd-anchor"></a>
								<h3>name</h3>
								<div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the table name.</p>
									</div>
									<p>The table name is used to reference the table programmatically.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="sheet" class="tsd-anchor"></a>
								<h3>sheet</h3>
								<div class="tsd-signature tsd-kind-icon">sheet<span class="tsd-signature-symbol">:</span> <a href="wijmo_grid_sheet.sheet.html" class="tsd-signature-type">Sheet</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the <a href="wijmo_grid_sheet.sheet.html">Sheet</a> this table belongs to.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showbandedcolumns" class="tsd-anchor"></a>
								<h3>showBandedColumns</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Banded<wbr>Columns<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Indicating whether banded column formatting is applied.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showbandedrows" class="tsd-anchor"></a>
								<h3>showBandedRows</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Banded<wbr>Rows<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether banded row
										formatting is applied.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showheaderrow" class="tsd-anchor"></a>
								<h3>showHeaderRow</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Header<wbr>Row<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Indicates whether the table should include a header row.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showtotalrow" class="tsd-anchor"></a>
								<h3>showTotalRow</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Total<wbr>Row<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Indicates whether the table should include a total row.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="style" class="tsd-anchor"></a>
								<h3>style</h3>
								<div class="tsd-signature tsd-kind-icon">style<span class="tsd-signature-symbol">:</span> <a href="wijmo_grid_sheet.tablestyle.html" class="tsd-signature-type">TableStyle</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the <a href="wijmo_grid_sheet.tablestyle.html">TableStyle</a> associated with this table.</p>
									</div>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Methods</h2>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="deleterows" class="tsd-anchor"></a>
								<h3>deleteRows</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">delete<wbr>Rows<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, count<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, shift<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Delete rows of Table.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>index: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The starting index of the deleting rows in Table.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> count: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The numbers of rows to delete. If not specified then one row will be deleted.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> shift: <span class="tsd-signature-type">boolean</span></h5>
												<div class="tsd-comment">
													<p>Indicates whether cells beneath the table should be shifted or not.  If not specified cells beneath will be shifted.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getcolumns" class="tsd-anchor"></a>
								<h3>getColumns</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Columns<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_grid_sheet.tablecolumn.html" class="tsd-signature-type">TableColumn</a><span class="tsd-signature-symbol">[]</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets the table's columns.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_grid_sheet.tablecolumn.html" class="tsd-signature-type">TableColumn</a><span class="tsd-signature-symbol">[]</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getrange" class="tsd-anchor"></a>
								<h3>getRange</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Range<span class="tsd-signature-symbol">(</span>section<span class="tsd-signature-symbol">?: </span><a href="../enums/wijmo_grid_sheet.tablesection.html" class="tsd-signature-type">TableSection</a>, column<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_grid.cellrange.html" class="tsd-signature-type">CellRange</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets the range of the specific section and column on the relevant sheet that the table occupies.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> section: <a href="../enums/wijmo_grid_sheet.tablesection.html" class="tsd-signature-type">TableSection</a></h5>
												<div class="tsd-comment">
													<p>The section of Table.  If the section is omitted.  It will get the range of entire table.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> column: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<p>The column of Table. The column could be <a href="wijmo_grid_sheet.tablecolumn.html">TableColumn</a> instance, column name or column index.
														If the column is omitted.  It will get the range for all columns in the table.
													If the section is null, the reference of the specific column includes the header row and the totals row if they are visible.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_grid.cellrange.html" class="tsd-signature-type">CellRange</a></h4>
										<p>the range of the specific table section and specific column, if the specific column doesn't exist in table it will return null.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="insertrows" class="tsd-anchor"></a>
								<h3>insertRows</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">insert<wbr>Rows<span class="tsd-signature-symbol">(</span>index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, count<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, shift<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Insert rows into Table.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>index: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The position where new rows should be added in table.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> count: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The numbers of rows to add. If not specified then one row will be added.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> shift: <span class="tsd-signature-type">boolean</span></h5>
												<div class="tsd-comment">
													<p>Indicates whether cells beneath the table should be shifted or not.  If not specified cells beneath will be shifted.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
										<p>True if the rows are inserted successfully.</p>
									</li>
								</ul>
							</section>
						</section>
					</div>