# Wijmo_Grid_Xlsx.Iflexgridxlsxoptions

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								IFlexGridXlsxOptions Interface
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>FlexGrid Xlsx conversion options</p>
								</div>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">IFlexGridXlsxOptions</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>
												Properties
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#activeworksheet" class="tsd-kind-icon">active<wbr>Worksheet</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#converthtmlentities" class="tsd-kind-icon">convert<wbr>Html<wbr>Entities</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#formatitem" class="tsd-kind-icon">format<wbr>Item</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includecellstyles" class="tsd-kind-icon">include<wbr>Cell<wbr>Styles</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includecolumnheaders" class="tsd-kind-icon">include<wbr>Column<wbr>Headers</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includecolumns" class="tsd-kind-icon">include<wbr>Columns</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includerowheaders" class="tsd-kind-icon">include<wbr>Row<wbr>Headers</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includestyles" class="tsd-kind-icon">include<wbr>Styles</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#quickcellstyles" class="tsd-kind-icon">quick<wbr>Cell<wbr>Styles</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#sheetindex" class="tsd-kind-icon">sheet<wbr>Index</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#sheetname" class="tsd-kind-icon">sheet<wbr>Name</a></li>
											<li class="tsd-kind-property tsd-parent-kind-interface"><a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#sheetvisible" class="tsd-kind-icon">sheet<wbr>Visible</a></li>
										</ul>
									</section>
								</div>
							</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-interface">
								<a name="activeworksheet" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> activeWorksheet</h3>
								<div class="tsd-signature tsd-kind-icon">active<wbr>Worksheet<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Export only.</p>
									</div>
									<p>Index or name of the active sheet in the xlsx file.</p>
									<p>The default value for this option is <strong>undefined</strong> which means that the active sheet is not set.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="converthtmlentities" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> convertHtmlEntities</h3>
								<div class="tsd-signature tsd-kind-icon">convert<wbr>Html<wbr>Entities<span class="tsd-signature-symbol">:</span> <a href="../enums/wijmo_grid_xlsx.htmlentityconversion.html" class="tsd-signature-type">HtmlEntityConversion</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Export only.</p>
									</div>
									<p>Defines the conversion behavior for HTML entities such as """, "&lt;", "&gt;" and "&amp;" when exporting.</p>
									<p>The default value is <a href="../enums/wijmo_grid_xlsx.htmlentityconversion.html#auto">HtmlEntityConversion.Auto</a>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="formatitem" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> formatItem</h3>
								<div class="tsd-signature tsd-kind-icon">format<wbr>Item<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Export only.</p>
									</div>
									<p>An optional callback which is called for every exported cell and allows to perform transformations
										of exported cell value and style.
										The callback is called irrespectively of the <a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includestyles">IFlexGridXlsxOptions.includeStyles</a> option value.
										It has a single parameter of the <a href="../classes/wijmo_grid_xlsx.xlsxformatitemeventargs.html">XlsxFormatItemEventArgs</a> type that
										provides both information about the source grid cell and an <a href="wijmo_xlsx.iworkbookcell.html">IWorkbookCell</a> object
									defining its representation in the exported file, which can be customized in the callback.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="includecellstyles" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> includeCellStyles</h3>
								<div class="tsd-signature tsd-kind-icon">include<wbr>Cell<wbr>Styles<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>Export only.</p>
									</div>
									<p>Indicates whether cells styling should be included in the generated xlsx file.
									This option has been deprecated. Please use <a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includestyles">IFlexGridXlsxOptions.includeStyles</a> option instead.</p>
									<p>The default value for this option is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="includecolumnheaders" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> includeColumnHeaders</h3>
								<div class="tsd-signature tsd-kind-icon">include<wbr>Column<wbr>Headers<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 to include column headers as first rows in the generated xlsx file.</p>
									</div>
									<p>The default value for this option is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="includecolumns" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> includeColumns</h3>
								<div class="tsd-signature tsd-kind-icon">include<wbr>Columns<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Object</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Export only.</p>
									</div>
									<p>A callback to indicate which columns of FlexGrid need be included or omitted during exporting.</p>
									<p>For example:</p>
									<pre>// This sample excludes the 'country' column from export.
&nbsp;
// JavaScript
wijmo.grid.xlsx.FlexGridXlsxConverter.save(grid, {
  includeColumns: function(column) {
     return column.binding !== 'country';
  }
}</pre>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="includerowheaders" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> includeRowHeaders</h3>
								<div class="tsd-signature tsd-kind-icon">include<wbr>Row<wbr>Headers<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 to include column headers as first rows in the generated xlsx file.</p>
									</div>
									<p>The default value for this option is <strong>false</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="includestyles" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> includeStyles</h3>
								<div class="tsd-signature tsd-kind-icon">include<wbr>Styles<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>When importing, indicates whether styles should be imported from xlsx file into a <a href="../classes/wijmo_xlsx.workbook.html">Workbook</a> instance.</p>
									</div>
									<p>When exporting, indicates whether cells styling should be included in the generated xlsx file.</p>
									<p>The default value for this option is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="quickcellstyles" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> quickCellStyles</h3>
								<div class="tsd-signature tsd-kind-icon">quick<wbr>Cell<wbr>Styles<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>Export only.</p>
									</div>
									<p>When turned on, decreases the export time by activating the cell styles caching if <a href="wijmo_grid_xlsx.iflexgridxlsxoptions.html#includestyles">IFlexGridXlsxOptions.includeStyles</a> option is enabled.
									In typical scenarios it allows to decrease the export time by several times.</p>
									<p>The combination of cell's inline style specific properties, own CSS classes and CSS classes of row containing the cell is used as
										the cache tag. Before the cell style is calculated, the cache is checked first, and if the style associated with the tag is found there,
									it's taken from there and doesn't get recalculated.</p>
									<p>Using this mode can make the export slower when considerable amount of cells have the unique set of CSS classes and inline styles.
										Also, when pseudo classes like :first-child and :nth-child are used to style the cells and rows, the cell styles can be determined
									incorrectly.</p>
									<p>The default value for this option is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="sheetindex" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> sheetIndex</h3>
								<div class="tsd-signature tsd-kind-icon">sheet<wbr>Index<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Import only.</p>
									</div>
									<p>Specifies the index of a sheet to import.</p>
									<p>The default value for this option is <strong>0</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="sheetname" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> sheetName</h3>
								<div class="tsd-signature tsd-kind-icon">sheet<wbr>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>When importing, specifies the name of a sheet to import.
										The <strong>sheetName</strong> takes priority over the <strong>sheetIndex</strong> option if both options are set.</p>
									</div>
									<p>When exporting, sets the name of the exported sheet.</p>
									<p>The default value for this option is <strong>undefined</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface">
								<a name="sheetvisible" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagOptional">Optional</span> sheetVisible</h3>
								<div class="tsd-signature tsd-kind-icon">sheet<wbr>Visible<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>Export only.</p>
									</div>
									<p>Indicates whether the sheet is visible.</p>
									<p><strong>Caveat:</strong> This option must be used with care. In case where you generate an
										xlsx file with a single invisible sheet, such a file can't be opened by Excel.
										The only scenario where this option can be set to false is where you use multiple
									export actions to assemble a multi-sheet workbook using a custom code.</p>
									<p>The default value for this option is <strong>true</strong>.</p>
								</div>
							</section>
						</section>
					</div>