Hierarchy

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    Returns IgrDataGrid

Properties

The columns actually present in the grid. Do not directly modify this array. This array's contents can be modified by causing React to reproject the child content. Or adding and removing columns from the manual columns collection on the columns property.

context: any

If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType. Should be used with type annotation or static contextType.

static contextType = MyContext
// For TS pre-3.7:
context!: React.ContextType<typeof MyContext>
// For TS 3.7 and above:
declare context: React.ContextType<typeof MyContext>
props: Readonly<IIgrDataGridProps> & Readonly<{
    children?: ReactNode;
}>
refs: {
    [key: string]: ReactInstance;
}

Type declaration

  • [key: string]: ReactInstance
state: Readonly<{}>
contextType?: Context<any>

If set, this.context will be set at runtime to the current value of the given Context.

Usage:

type MyContext = number
const Ctx = React.createContext<MyContext>(0)

class Foo extends React.Component {
static contextType = Ctx
context!: React.ContextType<typeof Ctx>
render () {
return <>My context's value: {this.context}</>;
}
}

Accessors

  • get activationMode(): GridActivationMode
  • Sets or gets the grid selection mode.

    Returns GridActivationMode

  • set activationMode(v): void
  • Parameters

    Returns void

  • get activeCell(): IgrGridCellPosition
  • Gets or sets the position of the active cell.

    Returns IgrGridCellPosition

  • set activeCell(v): void
  • Parameters

    Returns void

  • get activeCellChanged(): ((s, e) => void)
  • Called when the active cell changes.

    Returns ((s, e) => void)

  • set activeCellChanged(ev): void
  • Parameters

    Returns void

  • get actualBorderWidth(): Thickness
  • Gets the actual border width.

    Returns Thickness

  • set actualBorderWidth(v): void
  • Parameters

    • v: Thickness

    Returns void

  • get actualColumnsChanged(): ((s, e) => void)
  • Returns ((s, e) => void)

  • set actualColumnsChanged(ev): void
  • Parameters

    Returns void

  • get actualCornerRadiusBottomLeft(): number
  • Returns number

  • set actualCornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get actualCornerRadiusBottomRight(): number
  • Returns number

  • set actualCornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get actualCornerRadiusTopLeft(): number
  • Returns number

  • set actualCornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get actualCornerRadiusTopRight(): number
  • Returns number

  • set actualCornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get actualDataSource(): IDataSource
  • Returns IDataSource

  • get actualHeaderHeight(): number
  • Gets the height used for the header row.

    Returns number

  • set actualHeaderHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get actualPrimaryKey(): string[]
  • Gets either the inferred primary key from the data source, or the user provided primary key, if present. Represents the actual primary key that the grid will use in operations that require it.

    Returns string[]

  • set actualPrimaryKey(v): void
  • Parameters

    • v: string[]

    Returns void

  • get actualPrimaryKeyChange(): ((s, e) => void)
  • Returns ((s, e) => void)

      • (s, e): void
      • Parameters

        Returns void

  • set actualPrimaryKeyChange(ev): void
  • Parameters

    • ev: ((s, e) => void)
        • (s, e): void
        • Parameters

          Returns void

    Returns void

  • get actualRowHeight(): number
  • Gets the actual height for the rows in the grid.

    Returns number

  • set actualRowHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get actualVisibleRegion(): IgRect
  • Gets the region of the grid that is visible.

    Returns IgRect

  • get allowCopyOperation(): boolean
  • Returns boolean

  • set allowCopyOperation(v): void
  • Parameters

    • v: boolean

    Returns void

  • get autoAcceptEdits(): boolean
  • Gets or sets whether to automatically accept edits or require explicit acceptance or rejections of edits when handling the CellValueChanging or DataCommitting events. When True, nothing is required on the part of the developer in order for edits to be accepted. In order to validate and reject a user cell edit you must explicitly handle the CellValueChanging event and call the RejectEdit method using the edit ID provided by the event. In order to reject a whole commit you need to handle the DataComitting event and explicitly call the RejectCommit method using the commit ID provided by the event. When False, cell edits are not immediately accepted until you explicitly call the AcceptEdit method using the edit ID provided by the CellValueChanging event. If you do not handle this event then edits will be auto accepted.

    Returns boolean

  • set autoAcceptEdits(v): void
  • Parameters

    • v: boolean

    Returns void

  • get autoGenerateColumns(): boolean
  • Configures whether or not the grid will autogenerate columns when the data source is set.

    Returns boolean

  • set autoGenerateColumns(v): void
  • Parameters

    • v: boolean

    Returns void

  • get autoGenerateDesiredProperties(): string[]
  • Gets or sets the desired properties the grid will automatically generate columns for.

    Returns string[]

  • set autoGenerateDesiredProperties(v): void
  • Parameters

    • v: string[]

    Returns void

  • get border(): string
  • Gets or sets the border color around the grid.

    Returns string

  • set border(v): void
  • Parameters

    • v: string

    Returns void

  • get borderWidthBottom(): number
  • Returns number

  • set borderWidthBottom(v): void
  • Parameters

    • v: number

    Returns void

  • get borderWidthLeft(): number
  • Returns number

  • set borderWidthLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get borderWidthRight(): number
  • Returns number

  • set borderWidthRight(v): void
  • Parameters

    • v: number

    Returns void

  • get borderWidthTop(): number
  • Returns number

  • set borderWidthTop(v): void
  • Parameters

    • v: number

    Returns void

  • get canCommit(): boolean
  • Gets whether a commit can be performed. False if there are any errors present on any pending transactions.

    Returns boolean

  • get canRedo(): boolean
  • Gets whether a redo can be performed.

    Returns boolean

  • get canUndo(): boolean
  • Gets whether an undo can be performed.

    Returns boolean

  • get cellBackground(): string
  • Gets or sets the default background color to use for content cells

    Returns string

  • set cellBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get cellClicked(): ((s, e) => void)
  • Called when a cell is clicked.

    Returns ((s, e) => void)

  • set cellClicked(ev): void
  • Parameters

    Returns void

  • get cellEditEnded(): ((s, e) => void)
  • Called when a cell has finished editing.

    Returns ((s, e) => void)

  • set cellEditEnded(ev): void
  • Parameters

    Returns void

  • get cellEditStarted(): ((s, e) => void)
  • Called when a cell has started editing.

    Returns ((s, e) => void)

  • set cellEditStarted(ev): void
  • Parameters

    Returns void

  • get cellPointerDown(): ((s, e) => void)
  • Indicates a pointer is down on a cell.

    Returns ((s, e) => void)

  • set cellPointerDown(ev): void
  • Parameters

    Returns void

  • get cellPointerUp(): ((s, e) => void)
  • Indicates a pointer is up on a cell.

    Returns ((s, e) => void)

  • set cellPointerUp(ev): void
  • Parameters

    Returns void

  • get cellPreviewPointerDown(): ((s, e) => void)
  • Previews that a pointer is down on a cell.

    Returns ((s, e) => void)

  • set cellPreviewPointerDown(ev): void
  • Parameters

    Returns void

  • get cellPreviewPointerUp(): ((s, e) => void)
  • Previews that a pointer is up on a cell.

    Returns ((s, e) => void)

  • set cellPreviewPointerUp(ev): void
  • Parameters

    Returns void

  • get cellSelectedBackground(): string
  • Gets or sets the default background color to use for content cells when a row is in a selected state

    Returns string

  • set cellSelectedBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get cellTextColor(): string
  • Gets or sets the default text color to use for content cells

    Returns string

  • set cellTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get cellTextStyle(): string
  • Gets or sets the font to use for content cells

    Returns string

  • set cellTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get cellValueChanging(): ((s, e) => void)
  • Called when a cell has been edited.

    Returns ((s, e) => void)

  • set cellValueChanging(ev): void
  • Parameters

    Returns void

  • get clearSelectionOnEscape(): boolean
  • Gets or sets whether selection is cleared when pressing the Escape key.

    Returns boolean

  • set clearSelectionOnEscape(v): void
  • Parameters

    • v: boolean

    Returns void

  • get columnHiddenChanged(): ((s, e) => void)
  • Called when a column is hidden or unhidden.

    Returns ((s, e) => void)

  • set columnHiddenChanged(ev): void
  • Parameters

    Returns void

  • get columnMovingMode(): ColumnMovingMode
  • Gets or sets the type column moving to use.

    Returns ColumnMovingMode

  • set columnMovingMode(v): void
  • Parameters

    Returns void

  • get columnMovingSeparatorBackground(): string
  • Gets or sets the default background color to use for column moving separator.

    Returns string

  • set columnMovingSeparatorBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get columnMovingSeparatorOpacity(): number
  • Gets or sets the opacity of the column moving separator.

    Returns number

  • set columnMovingSeparatorOpacity(v): void
  • Parameters

    • v: number

    Returns void

  • get columnMovingSeparatorWidth(): number
  • Sets or gets the width to use for the column resizing separator.

    Returns number

  • set columnMovingSeparatorWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get columnOptionsIconBehavior(): ColumnOptionsIconBehavior
  • Gets or sets how the column options icon will behave inside header cells.

    Returns ColumnOptionsIconBehavior

  • set columnOptionsIconBehavior(v): void
  • Parameters

    Returns void

  • get columnOptionsIconColor(): string
  • Gets or sets the column options icon color in header cells.

    Returns string

  • set columnOptionsIconColor(v): void
  • Parameters

    • v: string

    Returns void

  • get columnPinnedChanged(): ((s, e) => void)
  • Called when a column is pinned or unpinned.

    Returns ((s, e) => void)

  • set columnPinnedChanged(ev): void
  • Parameters

    Returns void

  • get columnResizingAnimationMode(): ColumnResizingAnimationMode
  • Sets or gets the column resizing animation mode to use. Only applies when resizing in Deferred mode.

    Returns ColumnResizingAnimationMode

  • set columnResizingAnimationMode(v): void
  • Parameters

    Returns void

  • get columnResizingMode(): ColumnResizingMode
  • Gets or sets the type of column resizing to use.

    Returns ColumnResizingMode

  • set columnResizingMode(v): void
  • Parameters

    Returns void

  • get columnResizingSeparatorBackground(): string
  • Gets or sets the default background color to use for column resizing separator.

    Returns string

  • set columnResizingSeparatorBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get columnResizingSeparatorOpacity(): number
  • Gets or sets the opacity of the column Resizing separator.

    Returns number

  • set columnResizingSeparatorOpacity(v): void
  • Parameters

    • v: number

    Returns void

  • get columnResizingSeparatorWidth(): number
  • Sets or gets the width to use for the column resizing separator.

    Returns number

  • set columnResizingSeparatorWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get columnWidthChanged(): ((s, e) => void)
  • Called when a column's Width property has changed.

    Returns ((s, e) => void)

  • set columnWidthChanged(ev): void
  • Parameters

    Returns void

  • get columnsAutoGenerated(): ((s, e) => void)
  • Called when the columns are autogenerated.

    Returns ((s, e) => void)

  • set columnsAutoGenerated(ev): void
  • Parameters

    Returns void

  • get cornerRadiusBottomLeft(): number
  • Returns number

  • set cornerRadiusBottomLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get cornerRadiusBottomRight(): number
  • Returns number

  • set cornerRadiusBottomRight(v): void
  • Parameters

    • v: number

    Returns void

  • get cornerRadiusTopLeft(): number
  • Returns number

  • set cornerRadiusTopLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get cornerRadiusTopRight(): number
  • Returns number

  • set cornerRadiusTopRight(v): void
  • Parameters

    • v: number

    Returns void

  • get dataCommitted(): ((s, e) => void)
  • Called when edits have been committed to the datasource.

    Returns ((s, e) => void)

  • set dataCommitted(ev): void
  • Parameters

    Returns void

  • get dataCommitting(): ((s, e) => void)
  • Called when edits are about to be committed to the datasource.

    Returns ((s, e) => void)

  • set dataCommitting(ev): void
  • Parameters

    Returns void

  • get dataSource(): any
  • Returns any

  • set dataSource(value): void
  • Parameters

    • value: any

    Returns void

  • get dataSourceDesiredProperties(): string[]
  • Gets or sets the desired properties for the data source to load. If specified the data source may decide to constrain the properties it fetches to these properties and must make sure that at least those properties are loaded, rather than the default behavior for that data source.

    Returns string[]

  • set dataSourceDesiredProperties(v): void
  • Parameters

    • v: string[]

    Returns void

  • get defaultColumnMinWidth(): number
  • Gets or sets the default minimum width to use on all columns. Ignored if NaN.

    Returns number

  • set defaultColumnMinWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get defaultColumnWidth(): IgrColumnWidth
  • Gets or sets the default column width to use if a column as no local width.

    Returns IgrColumnWidth

  • set defaultColumnWidth(value): void
  • Parameters

    Returns void

  • get deferEventForRowDragSelection(): boolean
  • Gets or sets whether to defer the SelectedItemsChanged and SelectedKeysChanged events till after the drag selection has completed.

    Returns boolean

  • set deferEventForRowDragSelection(v): void
  • Parameters

    • v: boolean

    Returns void

  • get deletedTextColor(): string
  • Gets or sets the text color for unsaved deleted rows.

    Returns string

  • set deletedTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get density(): ControlDisplayDensity
  • Gets or sets the display density to use for the grid.

    Returns ControlDisplayDensity

  • set density(v): void
  • Parameters

    • v: ControlDisplayDensity

    Returns void

  • get editMode(): EditModeType
  • Gets or sets the type of edit mode

    Returns EditModeType

  • set editMode(v): void
  • Parameters

    Returns void

  • get editModeClickAction(): EditModeClickAction
  • Gets or sets the type of click action required to enter edit mode.

    Returns EditModeClickAction

  • set editModeClickAction(v): void
  • Parameters

    Returns void

  • get editOnKeyPress(): boolean
  • Gets or sets whether edit mode will begin as soon as you start typing while a cell is active.

    Returns boolean

  • set editOnKeyPress(v): void
  • Parameters

    • v: boolean

    Returns void

  • get editOpacity(): number
  • Gets or sets the default opacity for unsaved cell edits.

    Returns number

  • set editOpacity(v): void
  • Parameters

    • v: number

    Returns void

  • get editRowBorder(): string
  • Gets or sets the border color for rows being edited.

    Returns string

  • set editRowBorder(v): void
  • Parameters

    • v: string

    Returns void

  • get editRowBorderWidthBottom(): number
  • Returns number

  • set editRowBorderWidthBottom(v): void
  • Parameters

    • v: number

    Returns void

  • get editRowBorderWidthLeft(): number
  • Returns number

  • set editRowBorderWidthLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get editRowBorderWidthRight(): number
  • Returns number

  • set editRowBorderWidthRight(v): void
  • Parameters

    • v: number

    Returns void

  • get editRowBorderWidthTop(): number
  • Returns number

  • set editRowBorderWidthTop(v): void
  • Parameters

    • v: number

    Returns void

  • get editTextStyle(): string
  • Gets or sets the font to use for cells that have been edited.

    Returns string

  • set editTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get enterBehavior(): EnterKeyBehaviors
  • Gets or sets the behavior of the Enter key.

    Returns EnterKeyBehaviors

  • set enterBehavior(v): void
  • Parameters

    Returns void

  • get filterComparisonType(): FilterComparisonType
  • Gets or sets whether UI filters are case sensitive or not.

    Returns FilterComparisonType

  • set filterComparisonType(v): void
  • Parameters

    Returns void

  • get filterExpressions(): IgrFilterExpressionCollection
  • Gets the current filter that is applied to the grid. Collection can be updated to modify the filter for the grid. Once filter expresisons are in this collection, the grid will no longer listen for changes on their properties.

    Returns IgrFilterExpressionCollection

  • get filterExpressionsChanged(): ((s, e) => void)
  • Returns ((s, e) => void)

  • set filterExpressionsChanged(ev): void
  • Parameters

    Returns void

  • get filterExpressionsChanging(): ((s, e) => void)
  • Returns ((s, e) => void)

  • set filterExpressionsChanging(ev): void
  • Parameters

    Returns void

  • get filterLogicalOperator(): FilterLogicalOperator
  • Gets or sets how filters set through the filter UI are combined.

    Returns FilterLogicalOperator

  • set filterLogicalOperator(v): void
  • Parameters

    Returns void

  • get filterUIType(): FilterUIType
  • Gets or sets which filter UI type to use.

    Returns FilterUIType

  • set filterUIType(v): void
  • Parameters

    Returns void

  • get groupDescriptions(): IgrColumnGroupDescriptionCollection
  • Gets the current grouping that is applied to the grid. Collection can be updated to modify the grouping for the grid. Once grouping descriptions are in this collection, the grid will no longer listen for changes on their properties.

    Returns IgrColumnGroupDescriptionCollection

  • get groupDescriptionsChanged(): ((s, e) => void)
  • Called when grouping has changed.

    Returns ((s, e) => void)

  • set groupDescriptionsChanged(ev): void
  • Parameters

    Returns void

  • get groupHeaderDisplayMode(): GroupHeaderDisplayMode
  • Gets or sets how group headers are displayed when there are multiple groups defined in the grid.

    Returns GroupHeaderDisplayMode

  • set groupHeaderDisplayMode(v): void
  • Parameters

    Returns void

  • get groupSummaryDisplayMode(): GroupSummaryDisplayMode
  • Gets or sets the display mode summaries will use inside groups.

    Returns GroupSummaryDisplayMode

  • set groupSummaryDisplayMode(v): void
  • Parameters

    Returns void

  • get headerBackground(): string
  • Gets or sets the default background color to use for header cells

    Returns string

  • set headerBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get headerClickAction(): HeaderClickAction
  • Returns/sets the action to take when a column header is clicked.

    Returns HeaderClickAction

  • set headerClickAction(v): void
  • Parameters

    Returns void

  • get headerHeight(): number
  • Gets or sets the height to use for the header row.

    Returns number

  • set headerHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get headerRowSeparator(): IgrHeaderRowSeparator
  • Gets or sets the header row seperator settings.

    Returns IgrHeaderRowSeparator

  • set headerRowSeparator(v): void
  • Parameters

    Returns void

  • get headerRowSeparatorBackground(): string
  • Returns string

  • set headerRowSeparatorBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get headerSeparator(): IgrHeaderSeparator
  • Gets or sets the header seperator settings.

    Returns IgrHeaderSeparator

  • set headerSeparator(v): void
  • Parameters

    Returns void

  • get headerSeparatorBackground(): string
  • Gets or sets the default background color to use for header separators.

    Returns string

  • set headerSeparatorBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get headerSeparatorWidth(): number
  • Gets or sets the width of the header separators.

    Returns number

  • set headerSeparatorWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get headerSortIndicatorColor(): string
  • Gets or sets the default text color to use for content cells

    Returns string

  • set headerSortIndicatorColor(v): void
  • Parameters

    • v: string

    Returns void

  • get headerSortIndicatorStyle(): SortIndicatorStyle
  • Gets or sets the default render style for sort indicators in header cells.

    Returns SortIndicatorStyle

  • set headerSortIndicatorStyle(v): void
  • Parameters

    Returns void

  • get headerTextColor(): string
  • Gets or sets the default text color to use for header cells

    Returns string

  • set headerTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get headerTextStyle(): string
  • Gets or sets the font to use for header cells

    Returns string

  • set headerTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get height(): string
  • Returns string

  • set height(value): void
  • Parameters

    • value: string

    Returns void

  • get i(): DataGrid
  • Returns DataGrid

  • get initialGroupDescriptions(): IgrColumnGroupDescriptionCollection
  • Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.

    Returns IgrColumnGroupDescriptionCollection

  • get initialGroups(): string
  • Returns string

  • set initialGroups(v): void
  • Parameters

    • v: string

    Returns void

  • get initialSortDescriptions(): IgrColumnSortDescriptionCollection
  • Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.

    Returns IgrColumnSortDescriptionCollection

  • get initialSorts(): string
  • Returns string

  • set initialSorts(v): void
  • Parameters

    • v: string

    Returns void

  • get initialSummaries(): string
  • Returns string

  • set initialSummaries(v): void
  • Parameters

    • v: string

    Returns void

  • get insetBottom(): number
  • Gets or sets the amount of bottom inset space to use around the grid content.

    Returns number

  • set insetBottom(v): void
  • Parameters

    • v: number

    Returns void

  • get insetLeft(): number
  • Gets or sets the amount of left inset space to use around the grid content.

    Returns number

  • set insetLeft(v): void
  • Parameters

    • v: number

    Returns void

  • get insetRight(): number
  • Gets or sets the amount of right inset space to use around the grid content.

    Returns number

  • set insetRight(v): void
  • Parameters

    • v: number

    Returns void

  • get insetTop(): number
  • Gets or sets the amount of top inset space to use around the grid content.

    Returns number

  • set insetTop(v): void
  • Parameters

    • v: number

    Returns void

  • get isActiveCellStyleEnabled(): boolean
  • Gets or sets whether the active cell style will be applied to cells when made active.

    Returns boolean

  • set isActiveCellStyleEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isColumnOptionsEnabled(): boolean
  • Gets or sets whether to show the column options UI in the headers for columns.

    Returns boolean

  • set isColumnOptionsEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isColumnOptionsGroupingEnabled(): boolean
  • Gets or sets whether to show the grouping option in the column options menu.

    Returns boolean

  • set isColumnOptionsGroupingEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isColumnOptionsSummariesEnabled(): boolean
  • Gets or sets whether to show the summaries option in the column options menu.

    Returns boolean

  • set isColumnOptionsSummariesEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isGroupByAreaVisible(): boolean
  • Gets or sets if the Column Grouping Area should be shown and enabled

    Returns boolean

  • set isGroupByAreaVisible(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isGroupCollapsable(): boolean
  • Gets or sets whether group headers are collapsable.

    Returns boolean

  • set isGroupCollapsable(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isGroupExpandedDefault(): boolean
  • Gets or sets whether groups are expanded or collapsed by default.

    Returns boolean

  • set isGroupExpandedDefault(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isGroupRowSticky(): boolean
  • Gets or sets if group rows will stick to the top of the grid.

    Returns boolean

  • set isGroupRowSticky(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isHeaderSeparatorVisible(): boolean
  • Gets or sets if header separators are rendered.

    Returns boolean

  • set isHeaderSeparatorVisible(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isPagerVisible(): string | boolean
  • Gets or sets whether to show the pager or not.

    Returns string | boolean

  • set isPagerVisible(value): void
  • Parameters

    • value: string | boolean

    Returns void

  • get isPlaceholderRenderingEnabled(): boolean
  • Configures whether or not place holders are used for cells who do not have their data yet.

    Returns boolean

  • set isPlaceholderRenderingEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isRowHoverEnabled(): boolean
  • Gets or sets whether the row will highlight when hovered.

    Returns boolean

  • set isRowHoverEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isToolbarColumnChooserVisible(): boolean
  • Gets or sets whether to show the column chooser button in the toolbar.

    Returns boolean

  • set isToolbarColumnChooserVisible(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isToolbarColumnPinningVisible(): boolean
  • Gets or sets whether to show the column pinning button in the toolbar.

    Returns boolean

  • set isToolbarColumnPinningVisible(v): void
  • Parameters

    • v: boolean

    Returns void

  • get isToolbarVisible(): string | boolean
  • Gets or sets whether to show the toolbar.

    Returns string | boolean

  • set isToolbarVisible(value): void
  • Parameters

    • value: string | boolean

    Returns void

  • get lastStickyRowBackground(): string
  • Gets or sets the default color to use for the last sticky row

    Returns string

  • set lastStickyRowBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get mergedCellMode(): MergedCellMode
  • Gets or sets if and how cell merging is performed for all fields.

    Returns MergedCellMode

  • set mergedCellMode(v): void
  • Parameters

    Returns void

  • get mouseDragSelectionEnabled(): boolean
  • Gets or sets the ability to select rows or cells via mouse dragging. Currently only applies when SelectionMode is MultipleRow or RangeCell.

    Returns boolean

  • set mouseDragSelectionEnabled(v): void
  • Parameters

    • v: boolean

    Returns void

  • get notifyOnAllSelectionChanges(): boolean
  • Gets or sets if the grid should notify on programmatic selection changes as well as changes from the UI.

    Returns boolean

  • set notifyOnAllSelectionChanges(v): void
  • Parameters

    • v: boolean

    Returns void

  • get pageSize(): number
  • Gets or sets the size of each page when the pager is visible.

    Returns number

  • set pageSize(v): void
  • Parameters

    • v: number

    Returns void

  • get pinnedAreaSeparator(): IgrPinnedAreaSeparator
  • Gets or sets the pinned area separator settings.

    Returns IgrPinnedAreaSeparator

  • set pinnedAreaSeparator(v): void
  • Parameters

    Returns void

  • get pinnedAreaSeparatorWidth(): number
  • Gets or sets the width of the pinned area separators.

    Returns number

  • set pinnedAreaSeparatorWidth(v): void
  • Parameters

    • v: number

    Returns void

  • get pinnedRowBackground(): string
  • Gets or sets the default color to use for pinned rows

    Returns string

  • set pinnedRowBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get pinnedRowOpacity(): number
  • Gets or sets the default opacity to use for pinned rows

    Returns number

  • set pinnedRowOpacity(v): void
  • Parameters

    • v: number

    Returns void

  • get primaryKey(): string[]
  • Sets or gets the user provided primary key to assume for the data. Certain functionality of the grid requires a way to uniquely identify items in order to work correctly. If a primary key cannot be inferred from the data source, you may need to provide one here.

    Returns string[]

  • set primaryKey(v): void
  • Parameters

    • v: string[]

    Returns void

  • get reactsToFilterChanges(): boolean
  • Sets or gets whether the grid will react to filter changes.

    Returns boolean

  • set reactsToFilterChanges(v): void
  • Parameters

    • v: boolean

    Returns void

  • get reactsToGroupChanges(): boolean
  • Sets or gets whether the grid will react to group changes.

    Returns boolean

  • set reactsToGroupChanges(v): void
  • Parameters

    • v: boolean

    Returns void

  • get reactsToSortChanges(): boolean
  • Sets or gets whether the grid will react to sort changes.

    Returns boolean

  • set reactsToSortChanges(v): void
  • Parameters

    • v: boolean

    Returns void

  • get rowEditEnded(): ((s, e) => void)
  • Called when a row has finished editing.

    Returns ((s, e) => void)

  • set rowEditEnded(ev): void
  • Parameters

    Returns void

  • get rowEditStarted(): ((s, e) => void)
  • Called when a row has started editing.

    Returns ((s, e) => void)

  • set rowEditStarted(ev): void
  • Parameters

    Returns void

  • get rowHeight(): number
  • Gets or sets the height to use for the rows in the grid. If not set the grid will use the default value for the set display density.

    Returns number

  • set rowHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get rowHoverAnimationMode(): RowHoverAnimationMode
  • Sets or gets the row hover animation mode to use.

    Returns RowHoverAnimationMode

  • set rowHoverAnimationMode(v): void
  • Parameters

    Returns void

  • get rowHoverBackground(): string
  • Gets or sets the background color for rows when hovered.

    Returns string

  • set rowHoverBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get rowHoverTextColor(): string
  • Gets or sets the text color for rows when hovered.

    Returns string

  • set rowHoverTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get rowSeparator(): IgrRowSeparator
  • Gets or sets the row seperator settings.

    Returns IgrRowSeparator

  • set rowSeparator(v): void
  • Parameters

    Returns void

  • get rowSeparatorBackground(): string
  • Gets or sets the default background color to use for row separators

    Returns string

  • set rowSeparatorBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get rowSeparatorHeight(): number
  • Sets or gets the height to use for the row separators.

    Returns number

  • set rowSeparatorHeight(v): void
  • Parameters

    • v: number

    Returns void

  • get rowSeparatorLastStickyRowBackground(): string
  • Gets or sets the default last sticky row background color to use for row separators

    Returns string

  • set rowSeparatorLastStickyRowBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get rowSeparatorPinnedRowBackground(): string
  • Gets or sets the pinned row background color to use for row separators

    Returns string

  • set rowSeparatorPinnedRowBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get rowSeparatorStickyRowBackground(): string
  • Gets or sets the default sticky row background color to use for row separators

    Returns string

  • set rowSeparatorStickyRowBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get scrollbarBackground(): string
  • Gets or sets the scrollbar background color.

    Returns string

  • set scrollbarBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get scrollbarStyle(): ScrollbarStyle
  • Gets or sets the style of scrollbar.

    Returns ScrollbarStyle

  • set scrollbarStyle(v): void
  • Parameters

    • v: ScrollbarStyle

    Returns void

  • get sectionHeaderBackground(): string
  • Gets or sets the default background color to use for section header cells

    Returns string

  • set sectionHeaderBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get sectionHeaderSelectedBackground(): string
  • Gets or sets the default background color to use for section header cells when a row is in a selected state

    Returns string

  • set sectionHeaderSelectedBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get sectionHeaderTextColor(): string
  • Gets or sets the default text color to use for section header cells

    Returns string

  • set sectionHeaderTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get sectionHeaderTextStyle(): string
  • Gets or sets the font to use for section header cells

    Returns string

  • set sectionHeaderTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get selectedCellRangesChanged(): ((s, e) => void)
  • Called when the selected cell ranges changed.

    Returns ((s, e) => void)

  • set selectedCellRangesChanged(ev): void
  • Parameters

    Returns void

  • get selectedCellsChanged(): ((s, e) => void)
  • Called when the selected cells change.

    Returns ((s, e) => void)

  • set selectedCellsChanged(ev): void
  • Parameters

    Returns void

  • get selectedItemsChanged(): ((s, e) => void)
  • Called when the selected items change.

    Returns ((s, e) => void)

  • set selectedItemsChanged(ev): void
  • Parameters

    Returns void

  • get selectedKeysChanged(): ((s, e) => void)
  • Called when the selected keys change.

    Returns ((s, e) => void)

  • set selectedKeysChanged(ev): void
  • Parameters

    Returns void

  • get selectionBehavior(): GridSelectionBehavior
  • Sets or gets how selection behaves in the grid.

    Returns GridSelectionBehavior

  • set selectionBehavior(v): void
  • Parameters

    Returns void

  • get selectionChanged(): ((s, e) => void)
  • Called when an individual selection operation has been made.

    Returns ((s, e) => void)

  • set selectionChanged(ev): void
  • Parameters

    Returns void

  • get shiftSectionContent(): boolean
  • Gets or sets if the section header content should be shifted into the normal column scrollable area when there are pinned columns

    Returns boolean

  • set shiftSectionContent(v): void
  • Parameters

    • v: boolean

    Returns void

  • get sizeChanged(): ((s, e) => void)
  • Called when the grids size has changed.

    Returns ((s, e) => void)

  • set sizeChanged(ev): void
  • Parameters

    Returns void

  • get sortDescriptions(): IgrColumnSortDescriptionCollection
  • Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.

    Returns IgrColumnSortDescriptionCollection

  • get sortDescriptionsChanged(): ((s, e) => void)
  • Called when sorting has changed.

    Returns ((s, e) => void)

  • set sortDescriptionsChanged(ev): void
  • Parameters

    Returns void

  • get stickyRowBackground(): string
  • Gets or sets the default color to use for sticky rows

    Returns string

  • set stickyRowBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get summaryDescriptionsChanged(): ((s, e) => void)
  • Called when summaries have changed.

    Returns ((s, e) => void)

  • set summaryDescriptionsChanged(ev): void
  • Parameters

    Returns void

  • get summaryRootBackground(): string
  • Gets or sets the default background color to use for summary cells at the root level.

    Returns string

  • set summaryRootBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get summaryRootLabelTextColor(): string
  • Gets or sets the default text color to use for summary labels in summary cells at the root level.

    Returns string

  • set summaryRootLabelTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get summaryRootLabelTextStyle(): string
  • Gets or sets the font to use for summary labels at the root level.

    Returns string

  • set summaryRootLabelTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get summaryRootSelectedBackground(): string
  • Gets or sets the default background color to use for summary cells at the root level.

    Returns string

  • set summaryRootSelectedBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get summaryRootValueTextColor(): string
  • Gets or sets the default text color to use for summary cells at the root level.

    Returns string

  • set summaryRootValueTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get summaryRootValueTextStyle(): string
  • Gets or sets the font to use for summary values at the root level.

    Returns string

  • set summaryRootValueTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get summaryScope(): SummaryScope
  • Gets or sets the scope which summaries are calculated for.

    Returns SummaryScope

  • set summaryScope(v): void
  • Parameters

    Returns void

  • get summarySectionBackground(): string
  • Gets or sets the default background color to use for summary cells at the section level.

    Returns string

  • set summarySectionBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get summarySectionLabelTextColor(): string
  • Gets or sets the default text color to use for summary labels in summary cells at the section level.

    Returns string

  • set summarySectionLabelTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get summarySectionLabelTextStyle(): string
  • Gets or sets the font to use for summary labels at the section level.

    Returns string

  • set summarySectionLabelTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get summarySectionSelectedBackground(): string
  • Gets or sets the default background color to use for summary cells at the section level.

    Returns string

  • set summarySectionSelectedBackground(v): void
  • Parameters

    • v: string

    Returns void

  • get summarySectionValueTextColor(): string
  • Gets or sets the default text color to use for summary cells at the section level.

    Returns string

  • set summarySectionValueTextColor(v): void
  • Parameters

    • v: string

    Returns void

  • get summarySectionValueTextStyle(): string
  • Gets or sets the font to use for summary values at the section level.

    Returns string

  • set summarySectionValueTextStyle(v): void
  • Parameters

    • v: string

    Returns void

  • get todayOverride(): Date
  • Returns Date

  • set todayOverride(v): void
  • Parameters

    • v: Date

    Returns void

  • get toolbarColumnChooserText(): string
  • Gets or sets the column chooser button text to use in the toolbar.

    Returns string

  • set toolbarColumnChooserText(v): void
  • Parameters

    • v: string

    Returns void

  • get toolbarColumnChooserTitle(): string
  • Gets or sets the column chooser title text to use in the toolbar.

    Returns string

  • set toolbarColumnChooserTitle(v): void
  • Parameters

    • v: string

    Returns void

  • get toolbarColumnPinningText(): string
  • Gets or sets the column pinning button text to use in the toolbar.

    Returns string

  • set toolbarColumnPinningText(v): void
  • Parameters

    • v: string

    Returns void

  • get toolbarColumnPinningTitle(): string
  • Gets or sets the column pinning title text to use in the toolbar.

    Returns string

  • set toolbarColumnPinningTitle(v): void
  • Parameters

    • v: string

    Returns void

  • get toolbarTitle(): string
  • Gets or sets the title text to use in the toolbar.

    Returns string

  • set toolbarTitle(v): void
  • Parameters

    • v: string

    Returns void

  • get useAccessibility(): boolean
  • Returns boolean

  • set useAccessibility(value): void
  • Parameters

    • value: boolean

    Returns void

  • get useCanvas(): boolean
  • Returns boolean

  • set useCanvas(value): void
  • Parameters

    • value: boolean

    Returns void

  • get width(): string
  • Returns string

  • set width(value): void
  • Parameters

    • value: string

    Returns void

Methods

  • Accepts a specific commit to the datasource.

    Parameters

    • commitID: number
      • The ID of the commit provided by the Committing event.

    Returns void

  • Accept a pending edit turning it into a real edit.

    Parameters

    • editID: number
      • The ID of the edit. Provided by the CellValueChanging event.

    Returns void

  • Returns true if a column can be moved to the left of it's current position; otherwise false.

    Parameters

    • columnIndex: number
      • The index of the column.

    Returns boolean

  • Returns true if a column can be moved to the right of it's current position; otherwise false.

    Parameters

    • columnIndex: number
      • The index of the column.

    Returns boolean

  • Cancels any edits that may exist in the datasource.

    Returns void

  • Commits any edits that may exist in the datasource.

    Returns void

  • Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

    Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

  • Returns void

  • Called immediately after updating occurs. Not called for the initial render.

    The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.

    Parameters

    Returns void

  • Returns void

  • Returns the data index of an item within the bound data source.

    Parameters

    • item: any
      • The item from which to get the index.

    Returns number

  • Parameters

    • key: any[]

    Returns number

  • Deselects all currently selected rows.

    Returns void

  • Returns void

  • Parameters

    • commit: boolean

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns a serialized copy of the exported visual model

    Returns string

  • Exports visual information about the current state of the grid.

    Returns any

  • Parameters

    • name: string

    Returns any

  • Makes sure pending work has completed if the grid need to be synchronously examined.

    Returns void

  • Parameters

    Returns void

  • Parameters

    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Gets the column that appears at the index specified. This is not the columns actual index in the column's collection but the index for how it appears visually in the grid.

    Parameters

    • index: number
      • The rendered index of the column.

    Returns IgrDataGridColumn<IIgrDataGridColumnProps>

  • Gets the first visible index in the grid.

    Returns number

  • Get the cell that contains the provided coordinates.

    Parameters

    • x: number
    • y: number

    Returns IgrCellInfo

  • Gets the last visible index in the grid.

    Returns number

  • Gets the summary results for root level.

    Returns ISummaryResult[]

  • Gets the summary results for a specific section.

    Parameters

    • sectionIndex: number

    Returns ISummaryResult[][]

  • Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it.

    Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.

    Parameters

    Returns any

  • Returns void

  • Invalidates the bound data for the rows currently visible.

    Returns void

  • Loads the layout chnages that have been made to the grid

    Parameters

    • json: string

    Returns void

  • Parameters

    • oldIndex: number
    • newIndex: number

    Returns void

  • Moves a column to the left, if possible.

    Parameters

    • columnIndex: number
      • The index of the column to move.

    Returns void

  • Moves a column to the right, if possible.

    Parameters

    • columnIndex: number
      • The index of the column to move.

    Returns void

  • Returns void

  • Manually notifies the grid's data source that the data it has bound to has been cleared and needs to be re-examined. This should not be called if the data that the grid is bound to is already observable.

    Returns void

  • Returns void

  • Parameters

    • index: number
    • newItem: any

    Returns void

  • Parameters

    • index: number
    • oldItem: any

    Returns void

  • Returns void

  • Returns void

  • Parameters

    • index: number
    • oldItem: any
    • newItem: any

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Redo the last edit.

    Returns void

  • Forces a refresh of the grid content.

    Returns void

  • Rejects a specific commit.

    Parameters

    • commitID: number
      • The ID of the commit provided by the Committing event.

    Returns void

  • Reject a pending edit.

    Parameters

    • editID: number
      • The ID of the edit. Provided by the CellValueChanging event.

    Returns void

  • Removes an item by its instance.

    Parameters

    • item: any
      • The item instance to remove.

    Returns void

  • Parameters

    • key: any[]

    Returns void

  • Returns DetailedReactHTMLElement<{
        children: any[];
        className: string;
        ref: ((ref) => void);
        style: {
            boxSizing: "border-box";
            display: "flex";
            flexDirection: "column";
            overflow: "hidden";
        };
    }, any>

  • Resolves the value of a specific cell.

    Parameters

    Returns any

  • Parameters

    • row: number
    • column: number

    Returns any

  • Saves the layout chnages that have been made to the grid

    Returns string

  • Parameters

    • x: number
    • y: number

    Returns void

  • Scrolls the grid to given column, by index

    Parameters

    • columnNumber: number
      • The column number to scroll to.

    Returns void

  • Scrolls to an item, if found.

    Parameters

    • item: any
      • The item to scroll to.

    Returns boolean

  • Scrolls the grid so that a row is the last visible, by index.

    Parameters

    • rowNumber: number
      • The row index to scroll to.

    Returns void

  • Parameters

    • key: any[]

    Returns boolean

  • Scrolls the grid to given row, by index

    Parameters

    • rowNumber: number
      • The row index to scroll to.

    Returns void

  • Selects all of the rows in the grid.

    Returns void

  • Manually set the active responsive state of the grid.

    Parameters

    • name: string

    Returns void

  • Parameters

    • editID: number
    • errorMessage: string

    Returns void

  • Type parameters

    Type Parameters

    • K extends never

    Parameters

    • state: {} | ((prevState, props) => {} | Pick<{}, K>) | Pick<{}, K>
    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    • nextProps: any
    • nextState: any

    Returns boolean

  • Start edit mode on the active cell.

    Returns void

  • Undo the last edit.

    Returns void

  • Parameters

    • key: any[]
    • propertyPath: string
    • value: any

    Returns void