SpreadsheetProps

NameTypeDefaultDescription

className?

string

Sets additional classes to the Spreadsheet.

defaultProps?

SpreadsheetOptions

Represents the default props of the Spreadsheet.

onChange?

(event: SpreadsheetChangeEvent) => void

Triggered when a value in the Spreadsheet has been changed.

onChangeFormat?

(event: SpreadsheetChangeEvent) => void

Triggered when the range format is changed from the UI.

onExcelExport?

(event: SpreadsheetExcelExportEvent) => void

Fires when the user clicks the Export to Excel toolbar button.

onExcelImport?

(event: SpreadsheetExcelImportEvent) => void

Fired when the user clicks the Open toolbar button.

onSelect?

(event: SpreadsheetSelectEvent) => void

Triggered when the Spreadsheet selection is changed.

style?

React.CSSProperties

Specifies the styles that will be applied to the wrapping element.

toolbar?

boolean | SpreadsheetTab[]

true

A Boolean value which indicates if the toolbar will be displayed. It also allows to customize the tabs content