Custom control that displays one or more worksheets.

IgrSpreadsheet

new IgrSpreadsheet(props: IIgrSpreadsheetProps): IgrSpreadsheet

Returns IgrSpreadsheet

ActionExecuted: object
ActionExecuting: object
activeCell: SpreadsheetCell
activeCellChanged: object
activePane: SpreadsheetPane
activePaneChanged: object
activeSelection: SpreadsheetSelection
activeTable: WorksheetTable
activeTableChanged: object
activeWorksheet: Worksheet
activeWorksheetChanged: object
allowAddWorksheet: boolean
allowAsyncCalculations: boolean
allowDeleteWorksheet: boolean
areGridlinesVisible: boolean
areHeadersVisible: boolean
cellEditMode: SpreadsheetCellEditMode
chartAdapter: SpreadsheetChartAdapterBase
contextMenuOpening: object
editModeEntered: object
editModeEntering: object
editModeExited: object
editModeExiting: object
editModeValidationError: object
editRangePasswordNeeded: object
enterKeyNavigationDirection: SpreadsheetEnterKeyNavigationDirection
fixedDecimalPlaceCount: number
height: string
hyperlinkExecuting: object
isEnterKeyNavigationEnabled: boolean
isFixedDecimalEnabled: boolean
isFormulaBarVisible: boolean
isInEditMode: boolean
isInEndMode: boolean
isPerformingAsyncCalculations: boolean
isRenamingWorksheet: boolean
isScrollLocked: boolean
isUndoEnabled: boolean
nameBoxWidth: number
selectedWorksheets: Worksheet[]
selectionChanged: object
selectionMode: SpreadsheetCellSelectionMode
undoManager: UndoManager
userPromptDisplaying: object
validationInputMessagePosition: IgPoint
width: string
workbook: Workbook
workbookDirtied: object
zoomLevel: number

Returns an object used to get the formatting of the activeCell and where modifications are applied to the entire activeSelection. Any changes made to this object will affect all the objects in the selection. So for example, the Font.Name may return "Arial" because the active cell has that as its resolved font name even though the other cells are using a different font but if you set the Font.Name of this object to "Arial" then all the objects affected by the selection will have their Font.Name updated to that value.

get activeSelectionCellRangeFormat(): SpreadsheetCellRangeFormat

Returns SpreadsheetCellRangeFormat

get nativeElement(): HTMLElement

Returns HTMLElement

Returns an array of the panes for the activeWorksheet.

get panes(): SpreadsheetPane[]

Returns SpreadsheetPane[]

componentDidMount(): void

Returns void

componentWillUnmount(): void

Returns void

Notifies the spreadsheet that the container object has been resized.

containerResized(): void

Returns void

destroy(): void

Returns void

Executes the specified action.

executeAction(action: SpreadsheetAction): boolean

Parameters

Returns boolean

Returns an object with information about the visual state of the spreadsheet.

exportVisualData(): any

Returns any

findByName(name: string): any

Parameters

  • name: string

Returns any

Forces the spreadsheet to synchronously perform any deferred work.

flush(): void

Returns void

initializeContent(): void

Returns void

render(): DetailedReactHTMLElement<object, any>

Returns DetailedReactHTMLElement<object, any>

shouldComponentUpdate(nextProps: any, nextState: any): boolean

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

Notifies the spreadsheet that style information used for rendering may have been updated.

styleUpdated(): void

Returns void

_createFromInternal(internal: any): IgrSpreadsheet

Parameters

  • internal: any

Returns IgrSpreadsheet