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
  • p: GridPanel

    The GridPanel that contains the cell.

  • r: number

    The index of the row that contains the cell.

  • c: number

    The index of the column that contains the cell.

  • cell: HTMLElement

    The element that represents the cell.

  • rng: CellRange Optional

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

  • updateContent: boolean Optional

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

Returns
void

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback