interface VirtualSpreadsheetProps<Snapshot> {
    className?: string;
    data: ReactSpreadsheetData<Snapshot>;
    height: number;
    maxColumnCount?: number;
    maxCssSize?: number;
    maxRowCount?: number;
    minColumnCount?: number;
    minNumPages?: number;
    minRowCount?: number;
    theme?: VirtualSpreadsheetTheme | Record<string, string>;
    width: number;
}

Type Parameters

  • Snapshot

Properties

className?: string

The className applied to the spreadsheet as a whole

Data to display and edit

height: number

Component height

maxColumnCount?: number

Maximum umber of columns in the grid

1000000000000
maxCssSize?: number

Maximum size for CSS element beyond which layout breaks. You should never normally need to change this. The default value is compatible with all major browsers.

6000000
maxRowCount?: number

Maximum number of rows in the spreadsheet

1000000000000
minColumnCount?: number

Minimum number of columns in the grid

26
minNumPages?: number

The minimum number of virtual pages to use when inner container would otherwise be more than VirtualSpreadsheetProps.maxCssSize big. You should never normally need to change this.

100
minRowCount?: number

Minimum number of rows in the spreadsheet

100
theme?: VirtualSpreadsheetTheme | Record<string, string>
width: number

Component width