ComponentOne ASP.NET MVC Controls
CellFactory Class
File
wijmo.grid.js
Module
wijmo.grid

Creates HTML elements that represent cells within a FlexGrid control.

Methods

Methods

disposeCell

disposeCell(cell: HTMLElement): void

Disposes of a cell element and releases all resources associated with it.

Parameters
  • cell: HTMLElement

    The element that represents the cell.

Returns
void

getEditorValue

getEditorValue(g: FlexGrid): any

Gets the value of the editor currently being used.

Parameters
Returns
any

updateCell

updateCell(p: GridPanel, r: number, c: number, cell: HTMLElement, rng?: CellRange, updateContent?: boolean): void

Creates or updates a cell in the grid.

Parameters
Optional

The CellRange object that contains the cell's merged range, or null if the cell is not merged.

Whether to update the cell's content as well as its position and style.

Returns
void