Interface representing a cell in the grid. It is essentially the blueprint to a cell object. Contains definitions of properties and methods, relevant to a cell
Indicates whether the cell is currently active (focused).
cellID is the unique key, used to identify the cell
Represents the column that the cell belongs to.
Indicates whether the cell is currently in edit mode.
The value to display when the cell is in edit mode.
Indicates whether the cell can be edited.
Represents the grid instance containing the cell
Optional; An object identifying the cell. It contains rowID, columnID, and rowIndex of the cell.
Represents the native HTML element of the cell itself
Represents the row that the cell belongs to
Indicates whether the cell is currently selected. It is false, if the sell is not selected, and true, if it is.
An optional title to display for the cell
A method definition to update the value of the cell.
Optional; An object representing the validation state of the cell. Whether it's valid or invalid, and if it has errors
The current value of the cell.
The index of the column that the cell belongs to. It counts only the visible (not hidden) columns
The CSS width of the cell as a string.
Optional A method to activate the cell. It takes a focus or keyboard event as an argument
Optional; A method definition to calculate the size of the cell to fit the content The method can be used to calculate the size of the cell with the longest content and resize all cells to that size
Optional A method to handle click events on the cell It takes a mouse event as an argument
Optional A method to handle double-click events on the cell It takes a mouse event as an argument
A method definition to start or end the edit mode of the cell. It takes a boolean value as an argument