The main purpose of this cell is to mark its content as not focusable and read-only. Usually used to mark header rows and columns. HeaderCell also prevents scroll action (it's helpfull on a touch screens to perform row and column selection). HeaderCell interface is extended by Span, therefore you can span this cell.

Implementation

  • Open HeaderCell implementation on github

Interface declaration

interface HeaderCell extends Cell, Span {
    type: 'header';
    text: string;
}
Property nameTypeProperty description
typeheaderType of cell template
textstringContent of cell