# Wijmo_Grid.Cellfactory

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								CellFactory Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Creates HTML elements that represent cells within a <a href="wijmo_grid.flexgrid.html">FlexGrid</a> control.</p>
								</div>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">CellFactory</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>
												Methods
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid.cellfactory.html#disposecell" class="tsd-kind-icon">dispose<wbr>Cell</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid.cellfactory.html#geteditorvalue" class="tsd-kind-icon">get<wbr>Editor<wbr>Value</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_grid.cellfactory.html#updatecell" class="tsd-kind-icon">update<wbr>Cell</a></li>
										</ul>
									</section>
								</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="disposecell" class="tsd-anchor"></a>
								<h3>disposeCell</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">dispose<wbr>Cell<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</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>Disposes of a cell element and releases all resources associated with it.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>cell: <span class="tsd-signature-type">HTMLElement</span></h5>
												<div class="tsd-comment">
													<p>The element that represents the cell.</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="geteditorvalue" class="tsd-anchor"></a>
								<h3>getEditorValue</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Editor<wbr>Value<span class="tsd-signature-symbol">(</span>g<span class="tsd-signature-symbol">: </span><a href="wijmo_grid.flexgrid.html" class="tsd-signature-type">FlexGrid</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</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 value of the editor currently being used.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>g: <a href="wijmo_grid.flexgrid.html" class="tsd-signature-type">FlexGrid</a></h5>
												<div class="tsd-comment">
													<p><a href="wijmo_grid.flexgrid.html">FlexGrid</a> that owns the editor.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="updatecell" class="tsd-anchor"></a>
								<h3>updateCell</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">update<wbr>Cell<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><a href="wijmo_grid.gridpanel.html" class="tsd-signature-type">GridPanel</a>, r<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, cell<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span>, rng<span class="tsd-signature-symbol">?: </span><a href="wijmo_grid.cellrange.html" class="tsd-signature-type">CellRange</a>, updateContent<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>Creates or updates a cell in the grid.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>p: <a href="wijmo_grid.gridpanel.html" class="tsd-signature-type">GridPanel</a></h5>
												<div class="tsd-comment">
													<p>The <a href="wijmo_grid.gridpanel.html">GridPanel</a> that contains the cell.</p>
												</div>
											</li>
											<li>
												<h5>r: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The index of the row that contains the cell.</p>
												</div>
											</li>
											<li>
												<h5>c: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The index of the column that contains the cell.</p>
												</div>
											</li>
											<li>
												<h5>cell: <span class="tsd-signature-type">HTMLElement</span></h5>
												<div class="tsd-comment">
													<p>The element that represents the cell.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> rng: <a href="wijmo_grid.cellrange.html" class="tsd-signature-type">CellRange</a></h5>
												<div class="tsd-comment">
													<p>The <a href="wijmo_grid.cellrange.html">CellRange</a> object that contains the cell's
													merged range, or null if the cell is not merged.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> updateContent: <span class="tsd-signature-type">boolean</span></h5>
												<div class="tsd-comment">
													<p>Whether to update the cell's content as
													well as its position and style.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
						</section>
					</div>