# Wijmo_Grid_Xlsx.Xlsxformatitemeventargs

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								XlsxFormatItemEventArgs Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Represents arguments of the IFlexGridXlsxOptions.formatItem callback.</p>
								</div>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<a href="wijmo_grid.cellrangeeventargs.html" class="tsd-signature-type">CellRangeEventArgs</a>
									<ul class="tsd-hierarchy">
										<li>
											<span class="target">XlsxFormatItemEventArgs</span>
										</li>
									</ul>
								</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-class tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#cancel" class="tsd-kind-icon">cancel</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#cell" class="tsd-kind-icon">cell</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#col" class="tsd-kind-icon">col</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#data" class="tsd-kind-icon">data</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#panel" class="tsd-kind-icon">panel</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#range" class="tsd-kind-icon">range</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#row" class="tsd-kind-icon">row</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#xlsxcell" class="tsd-kind-icon">xlsx<wbr>Cell</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#empty" class="tsd-kind-icon">empty</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 tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#getcolumn" class="tsd-kind-icon">get<wbr>Column</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#getformattedcell" class="tsd-kind-icon">get<wbr>Formatted<wbr>Cell</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#getrow" class="tsd-kind-icon">get<wbr>Row</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-class tsd-is-inherited">
								<a name="cancel" class="tsd-anchor"></a>
								<h3>cancel</h3>
								<div class="tsd-signature tsd-kind-icon">cancel<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
									<p>Inherited from <a href="wijmo.canceleventargs.html">CancelEventArgs</a>.<a href="wijmo.canceleventargs.html#cancel">cancel</a></p>
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that indicates whether the event should be canceled.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="cell" class="tsd-anchor"></a>
								<h3>cell</h3>
								<div class="tsd-signature tsd-kind-icon">cell<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>If <a href="../interfaces/wijmo_grid_xlsx.iflexgridxlsxoptions.html#includestyles">IFlexGridXlsxOptions.includeStyles</a> is set to true then contains a
										reference to the element that represents the formatted grid cell; otherwise, a null value.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a name="col" class="tsd-anchor"></a>
								<h3>col</h3>
								<div class="tsd-signature tsd-kind-icon">col<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
									<p>Inherited from <a href="wijmo_grid.cellrangeeventargs.html">CellRangeEventArgs</a>.<a href="wijmo_grid.cellrangeeventargs.html#col">col</a></p>
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the index of the column affected by this event.</p>
									</div>
									<p>To get the <a href="wijmo_grid.column.html">Column</a> object, use the <a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#getcolumn">getColumn</a> method.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a name="data" class="tsd-anchor"></a>
								<h3>data</h3>
								<div class="tsd-signature tsd-kind-icon">data<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
								<aside class="tsd-sources">
									<p>Inherited from <a href="wijmo_grid.cellrangeeventargs.html">CellRangeEventArgs</a>.<a href="wijmo_grid.cellrangeeventargs.html#data">data</a></p>
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the data associated with the event.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a name="panel" class="tsd-anchor"></a>
								<h3>panel</h3>
								<div class="tsd-signature tsd-kind-icon">panel<span class="tsd-signature-symbol">:</span> <a href="wijmo_grid.gridpanel.html" class="tsd-signature-type">GridPanel</a></div>
								<aside class="tsd-sources">
									<p>Inherited from <a href="wijmo_grid.cellrangeeventargs.html">CellRangeEventArgs</a>.<a href="wijmo_grid.cellrangeeventargs.html#panel">panel</a></p>
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the <a href="wijmo_grid.gridpanel.html">GridPanel</a> affected by this event.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a name="range" class="tsd-anchor"></a>
								<h3>range</h3>
								<div class="tsd-signature tsd-kind-icon">range<span class="tsd-signature-symbol">:</span> <a href="wijmo_grid.cellrange.html" class="tsd-signature-type">CellRange</a></div>
								<aside class="tsd-sources">
									<p>Inherited from <a href="wijmo_grid.cellrangeeventargs.html">CellRangeEventArgs</a>.<a href="wijmo_grid.cellrangeeventargs.html#range">range</a></p>
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the <a href="wijmo_grid.cellrange.html">CellRange</a> affected by this event.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a name="row" class="tsd-anchor"></a>
								<h3>row</h3>
								<div class="tsd-signature tsd-kind-icon">row<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
									<p>Inherited from <a href="wijmo_grid.cellrangeeventargs.html">CellRangeEventArgs</a>.<a href="wijmo_grid.cellrangeeventargs.html#row">row</a></p>
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the index of the row affected by this event.</p>
									</div>
									<p>To get the <a href="../enums/wijmo_grid.selectionmode.html#row">Row</a> object, use the <a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#getrow">getRow</a> method.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="xlsxcell" class="tsd-anchor"></a>
								<h3>xlsxCell</h3>
								<div class="tsd-signature tsd-kind-icon">xlsx<wbr>Cell<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">mXlsx.IWorkbookCell</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Contains an exporting cell representation. Initially it contains a default cell representation created
											by FlexGrid export, and can be modified by the event handler to customize its final content. For example,
											the xlsxCell.value property can be updated to modify a cell content, xlsxCell.style to modify cell's style,
										and so on.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
								<a name="empty" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagStatic">Static</span> empty</h3>
								<div class="tsd-signature tsd-kind-icon">empty<span class="tsd-signature-symbol">:</span> <a href="wijmo.eventargs.html" class="tsd-signature-type">EventArgs</a></div>
								<aside class="tsd-sources">
									<p>Inherited from <a href="wijmo.eventargs.html">EventArgs</a>.<a href="wijmo.eventargs.html#empty">empty</a></p>
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Provides a value to use with events that do not have event data.</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 tsd-is-inherited">
								<a name="getcolumn" class="tsd-anchor"></a>
								<h3>getColumn</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Column<span class="tsd-signature-symbol">(</span>binding<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><a href="wijmo_grid.column.html" class="tsd-signature-type">Column</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
											<p>Inherited from <a href="wijmo_grid.cellrangeeventargs.html">CellRangeEventArgs</a>.<a href="wijmo_grid.cellrangeeventargs.html#getcolumn">getColumn</a></p>
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets the <a href="wijmo_grid.column.html">Column</a> affected by this event.</p>
											</div>
											<p>To get the column index, use the <a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#col">col</a> property.</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> binding: <span class="tsd-signature-type">boolean</span></h5>
												<div class="tsd-comment">
													<p>Whether to get the column by index or by binding.
														This parameter only makes a difference in grids that have multiple
													rows per data item (like the <a href="wijmo_grid_multirow.multirow.html">MultiRow</a> grid).</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_grid.column.html" class="tsd-signature-type">Column</a></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="getformattedcell" class="tsd-anchor"></a>
								<h3>getFormattedCell</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Formatted<wbr>Cell<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Returns a cell with a custom formatting applied (formatItem event, cell templates).
													This method is useful when export of custom formatting is disabled
													(<a href="../interfaces/wijmo_grid_xlsx.iflexgridxlsxoptions.html#includestyles">IFlexGridXlsxOptions.includeStyles</a>=false), but you need
												to export a custom content and/or style for a certain cells.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLElement</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
								<a name="getrow" class="tsd-anchor"></a>
								<h3>getRow</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Row<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_grid.row.html" class="tsd-signature-type">Row</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
											<p>Inherited from <a href="wijmo_grid.cellrangeeventargs.html">CellRangeEventArgs</a>.<a href="wijmo_grid.cellrangeeventargs.html#getrow">getRow</a></p>
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets the <a href="../enums/wijmo_grid.selectionmode.html#row">Row</a> affected by this event.</p>
											</div>
											<p>To get the row index, use the <a href="wijmo_grid_xlsx.xlsxformatitemeventargs.html#row">row</a> property.</p>
										</div>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_grid.row.html" class="tsd-signature-type">Row</a></h4>
									</li>
								</ul>
							</section>
						</section>
					</div>