Highlight interface

Highlight is an element to mark any cell inside the grid.

Highlight (opposed to focus):

  • it can be placed on any cell

  • it must be managed by a developer unlike ‘focus’

Definition

interface Highlight {
    readonly rowId: Id;
    readonly columnId: Id;
    readonly borderColor?: string;
    readonly className?: string;
}

Properties

Property nameTypeProperty description
rowId Id Row id of the cell to highlight
columnId Id Column id of the cell to highlight
borderColorstringOptional border color
classNamestringOptional CSS classname of the highlighted element