Custom control that displays one or more worksheets.

IgcSpreadsheetComponent

new IgcSpreadsheetComponent(): IgcSpreadsheetComponent

Returns IgcSpreadsheetComponent

htmlTagName: string
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
CommandExecuted: object
CommandExecuting: object
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

Returns an array of the panes for the activeWorksheet.

get panes(): SpreadsheetPane[]

Returns SpreadsheetPane[]

get observedAttributes(): string[]

Returns string[]

afterContentInit(): void

Returns void

attributeChangedCallback(name: string, oldValue: string, newValue: string): void

Parameters

  • name: string
  • oldValue: string
  • newValue: string

Returns void

connectedCallback(): void

Returns void

Notifies the spreadsheet that the container object has been resized.

containerResized(): void

Returns void

destroy(): void

Returns void

disconnectedCallback(): 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

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

styleUpdated(): void

Returns void

_createFromInternal(internal: any): IgcSpreadsheetComponent

Parameters

  • internal: any

Returns IgcSpreadsheetComponent

register(): void

Returns void