Highlight is an element to mark any cell inside the grid with custom border color or CSS class

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
rowIdIdRow Id of the cell to highlight
columnIdIdColumn Id of the cell to highlight
borderColorstringOptional border color
classNamestringOptional CSS classname of the highlighted cell