5.0
API
Types
StyledRange

Definition

type StyledRange = {
  styles: React.CSSProperties;
  range: Range;
};
 
type Range = {
  start: {
    rowIndex: number;
    columnIndex: number;
  };
  end: {
    rowIndex: number;
    columnIndex: number;
  };
};

Properties

NameTypeDescription
stylesReact.CSSPropertiesThe CSS properties to apply to the range.
rangeRangeThe range of cells to which the styles apply.
range.start.rowIndexnumberThe starting row index of the range.
range.start.columnIndexnumberThe starting column index of the range.
range.end.rowIndexnumberThe ending row index of the range.
range.end.columnIndexnumberThe ending column index of the range.