Grid provides a way to present and manipulate tabular data.

actionStripComponents: IgcActionStripToken[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get addRowEmptyTemplate(): (ctx: void) => React.ReactNode

Returns (ctx: void) => React.ReactNode

Gets/Sets a custom template for adding row UI when grid is empty.

set addRowEmptyTemplate(value: (ctx: void) => React.ReactNode): void

Parameters

  • value: (ctx: void) => React.ReactNode

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get advancedFilteringExpressionsTree(): IgrFilteringExpressionsTree

Returns IgrFilteringExpressionsTree

Gets/Sets the advanced filtering state.

set advancedFilteringExpressionsTree(value: IgrFilteringExpressionsTree): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get allowAdvancedFiltering(): boolean

Returns boolean

Gets/Sets a value indicating whether the advanced filtering is enabled.

set allowAdvancedFiltering(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get allowFiltering(): boolean

Returns boolean

Gets/Sets if the filtering is enabled.

set allowFiltering(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get autoGenerate(): boolean

Returns boolean

Gets/Sets whether to auto-generate the columns.

set autoGenerate(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get autoGenerateExclude(): string[]

Returns string[]

Gets/Sets a list of property keys to be excluded from the generated column collection

set autoGenerateExclude(value: string[]): void

Parameters

  • value: string[]

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get batchEditing(): boolean

Returns boolean

Gets/Sets whether the grid has batch editing enabled. When batch editing is enabled, changes are not made directly to the underlying data. Instead, they are stored as transactions, which can later be committed w/ the commit method.

set batchEditing(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get cellMergeMode(): GridCellMergeMode

Returns GridCellMergeMode

Gets/Sets cell merge mode.

set cellMergeMode(value: GridCellMergeMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get cellSelection(): GridSelectionMode

Returns GridSelectionMode

Gets/Sets cell selection mode.

set cellSelection(value: GridSelectionMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get clipboardOptions(): IgrClipboardOptions

Returns IgrClipboardOptions

Controls the copy behavior of the grid.

set clipboardOptions(value: IgrClipboardOptions): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get columnList(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets an array of columns.

get columns(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get columnSelection(): GridSelectionMode

Returns GridSelectionMode

Gets/Sets column selection mode

set columnSelection(value: GridSelectionMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get columnWidth(): string

Returns string

Gets/Sets the default width of the columns.

set columnWidth(value: string): void

Parameters

  • value: string

Returns void

get data(): any[]

Returns any[]

Gets/Sets the array of data that populates the component.

set data(value: any[]): void

Parameters

  • value: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get dataCloneStrategy(): IgrDataCloneStrategy

Returns IgrDataCloneStrategy

Gets/Sets the data clone strategy of the grid when in edit mode.

set dataCloneStrategy(value: IgrDataCloneStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

A list of currently rendered grid row's.

get dataRowList(): IgrRowDirective[]

Returns IgrRowDirective[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns the currently transformed paged/filtered/sorted/grouped/pinned/unpinned row data, displayed in the grid.

get dataView(): any[]

Returns any[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets the default row height.

get defaultRowHeight(): number

Returns number

get detailTemplate(): (ctx: IgrGridMasterDetailContext) => React.ReactNode

Returns (ctx: IgrGridMasterDetailContext) => React.ReactNode

Returns a reference to the master-detail template.

set detailTemplate(value: (ctx: IgrGridMasterDetailContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get dragGhostCustomTemplate(): (ctx: IgrGridRowDragGhostContext) => React.ReactNode

Returns (ctx: IgrGridRowDragGhostContext) => React.ReactNode

Gets the custom template, if any, used for row drag ghost.

set dragGhostCustomTemplate(value: (ctx: IgrGridRowDragGhostContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get dragIndicatorIconTemplate(): (ctx: IgrGridEmptyTemplateContext) => React.ReactNode

Returns (ctx: IgrGridEmptyTemplateContext) => React.ReactNode

The custom template, if any, that should be used when rendering the row drag indicator icon

set dragIndicatorIconTemplate(value: (ctx: IgrGridEmptyTemplateContext) => React.ReactNode): void

Parameters

Returns void

get dropAreaMessage(): string

Returns string

Gets/Sets the message displayed inside the GroupBy drop area where columns can be dragged on.

set dropAreaMessage(value: string): void

Parameters

  • value: string

Returns void

get dropAreaTemplate(): (ctx: void) => React.ReactNode

Returns (ctx: void) => React.ReactNode

Gets/Sets the template that will be rendered as a GroupBy drop area.

set dropAreaTemplate(value: (ctx: void) => React.ReactNode): void

Parameters

  • value: (ctx: void) => React.ReactNode

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get emptyFilteredGridMessage(): string

Returns string

Gets/Sets the message displayed when there are no records and the grid is filtered.

set emptyFilteredGridMessage(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get emptyGridMessage(): string

Returns string

Get/Sets the message displayed when there are no records.

set emptyGridMessage(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get emptyGridTemplate(): (ctx: IgrGridTemplateContext) => React.ReactNode

Returns (ctx: IgrGridTemplateContext) => React.ReactNode

Gets/Sets a custom template when empty.

set emptyGridTemplate(value: (ctx: IgrGridTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get excelStyleHeaderIconTemplate(): (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

Returns (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

Gets the excel style header icon.

set excelStyleHeaderIconTemplate(value: (ctx: IgrGridHeaderTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get expansionStates(): Map<any, boolean>

Returns Map<any, boolean>

Gets/Sets a list of key-value pairs [row ID, expansion state].

set expansionStates(value: Map<any, boolean>): void

Parameters

  • value: Map<any, boolean>

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns an array of objects containing the filtered data.

get filteredData(): any

Returns any

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns an array containing the filtered sorted data.

get filteredSortedData(): any[]

Returns any[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get filteringExpressionsTree(): IgrFilteringExpressionsTree

Returns IgrFilteringExpressionsTree

Gets/Sets the filtering state.

set filteringExpressionsTree(value: IgrFilteringExpressionsTree): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get filteringLogic(): FilteringLogic

Returns FilteringLogic

Gets/Sets the filtering logic of the grid.

set filteringLogic(value: FilteringLogic): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get filterMode(): FilterMode

Returns FilterMode

Gets/Sets the filter mode.

set filterMode(value: FilterMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get filterStrategy(): IgrFilteringStrategy

Returns IgrFilteringStrategy

Gets/Sets the filtering strategy of the grid.

set filterStrategy(value: IgrFilteringStrategy): void

Parameters

Returns void

get groupByRowSelectorTemplate(): (ctx: IgrGroupByRowSelectorTemplateContext) => React.ReactNode

Returns (ctx: IgrGroupByRowSelectorTemplateContext) => React.ReactNode

Gets the group by row selector template.

set groupByRowSelectorTemplate(value: (ctx: IgrGroupByRowSelectorTemplateContext) => React.ReactNode): void

Parameters

Returns void

get groupingExpansionState(): IgrGroupByExpandState[]

Returns IgrGroupByExpandState[]

Gets/Sets a list of expansion states for group rows.

set groupingExpansionState(value: IgrGroupByExpandState[]): void

Parameters

Returns void

get groupingExpressions(): IgrGroupingExpression[]

Returns IgrGroupingExpression[]

Gets/Sets the group by state.

set groupingExpressions(value: IgrGroupingExpression[]): void

Parameters

Returns void

get groupRowTemplate(): (ctx: IgrGroupByRowTemplateContext) => React.ReactNode

Returns (ctx: IgrGroupByRowTemplateContext) => React.ReactNode

Gets/Sets the template reference for the group row.

set groupRowTemplate(value: (ctx: IgrGroupByRowTemplateContext) => React.ReactNode): void

Parameters

Returns void

get groupsExpanded(): boolean

Returns boolean

Gets/Sets whether created groups are rendered expanded or collapsed.

set groupsExpanded(value: boolean): void

Parameters

  • value: boolean

Returns void

Gets the hierarchical representation of the group by records.

get groupsRecords(): IgrGroupByRecord[]

Returns IgrGroupByRecord[]

get groupStrategy(): IgrGridGroupingStrategy

Returns IgrGridGroupingStrategy

Gets/Sets the grouping strategy of the grid.

set groupStrategy(value: IgrGridGroupingStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get headerCollapsedIndicatorTemplate(): (ctx: IgrGridTemplateContext) => React.ReactNode

Returns (ctx: IgrGridTemplateContext) => React.ReactNode

Gets the row collapse indicator template.

set headerCollapsedIndicatorTemplate(value: (ctx: IgrGridTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get headerExpandedIndicatorTemplate(): (ctx: IgrGridTemplateContext) => React.ReactNode

Returns (ctx: IgrGridTemplateContext) => React.ReactNode

Gets the header expand indicator template.

set headerExpandedIndicatorTemplate(value: (ctx: IgrGridTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get headSelectorTemplate(): (ctx: IgrHeadSelectorTemplateContext) => React.ReactNode

Returns (ctx: IgrHeadSelectorTemplateContext) => React.ReactNode

Gets the header row selector template.

set headSelectorTemplate(value: (ctx: IgrHeadSelectorTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get height(): string

Returns string

Gets/Sets the height.

set height(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets the number of hidden columns.

get hiddenColumnsCount(): number

Returns number

get hideGroupedColumns(): boolean

Returns boolean

Gets/Sets whether the grouped columns should be hidden.

set hideGroupedColumns(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get hideRowSelectors(): boolean

Returns boolean

Gets/Sets if the row selectors are hidden.

set hideRowSelectors(value: boolean): void

Parameters

  • value: boolean

Returns void

The id property of the Element interface represents the element's identifier, reflecting the id global attribute.

MDN Reference

get id(): string

Returns string

Gets/Sets the value of the id attribute.

set id(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get isLoading(): boolean

Returns boolean

Gets/Sets whether the grid is going to show a loading indicator.

set isLoading(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Represents the last search information.

get lastSearchInfo(): IgrSearchInfo

Returns IgrSearchInfo

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get loadingGridTemplate(): (ctx: IgrGridTemplateContext) => React.ReactNode

Returns (ctx: IgrGridTemplateContext) => React.ReactNode

Gets/Sets a custom template when loading.

set loadingGridTemplate(value: (ctx: IgrGridTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get locale(): string

Returns string

Gets/Sets the locale.

set locale(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get mergeStrategy(): IgrGridMergeStrategy

Returns IgrGridMergeStrategy

Gets/Sets the merge strategy of the grid.

set mergeStrategy(value: IgrGridMergeStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get moving(): boolean

Returns boolean

Controls whether columns moving is enabled in the grid.

set moving(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets/Sets the outlet used to attach the grid's overlays to.

set outlet(value: IgrOverlayOutletDirective): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get paginationComponents(): IgrPaginatorComponent[]

Returns IgrPaginatorComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get pagingMode(): GridPagingMode

Returns GridPagingMode

set pagingMode(value: GridPagingMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets an array of the pinned columns.

get pinnedColumns(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets the number of pinned columns.

get pinnedColumnsCount(): number

Returns number

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets an array of the pinned to the right columns.

get pinnedEndColumns(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets an array of the pinned rows.

get pinnedRows(): IgrGridRowComponent[]

Returns IgrGridRowComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets an array of the pinned to the left columns.

get pinnedStartColumns(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get pinning(): IgrPinningConfig

Returns IgrPinningConfig

Gets/Sets the initial pinning configuration.

set pinning(value: IgrPinningConfig): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get primaryKey(): string

Returns string

Gets/Sets the primary key.

set primaryKey(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get resourceStrings(): IgrGridResourceStrings

Returns IgrGridResourceStrings

Gets/Sets the resource strings.

set resourceStrings(value: IgrGridResourceStrings): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowAddTextTemplate(): (ctx: IgrGridEmptyTemplateContext) => React.ReactNode

Returns (ctx: IgrGridEmptyTemplateContext) => React.ReactNode

Gets the row add text template.

set rowAddTextTemplate(value: (ctx: IgrGridEmptyTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowClasses(): any

Returns any

Sets a conditional class selector to the grid's row element. Accepts an object literal, containing key-value pairs, where the key is the name of the CSS class and the value is either a callback function that returns a boolean, or boolean, like so:

set rowClasses(value: any): void

Parameters

  • value: any

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowCollapsedIndicatorTemplate(): (ctx: IgrGridRowTemplateContext) => React.ReactNode

Returns (ctx: IgrGridRowTemplateContext) => React.ReactNode

Gets the row collapse indicator template.

set rowCollapsedIndicatorTemplate(value: (ctx: IgrGridRowTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowDraggable(): boolean

Returns boolean

Gets/Sets whether rows can be moved.

set rowDraggable(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowEditable(): boolean

Returns boolean

Gets/Sets whether the rows are editable.

set rowEditable(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowEditActionsTemplate(): (ctx: IgrGridRowEditActionsTemplateContext) => React.ReactNode

Returns (ctx: IgrGridRowEditActionsTemplateContext) => React.ReactNode

Gets the row edit actions template.

set rowEditActionsTemplate(value: (ctx: IgrGridRowEditActionsTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowEditTextTemplate(): (ctx: IgrGridRowEditTextTemplateContext) => React.ReactNode

Returns (ctx: IgrGridRowEditTextTemplateContext) => React.ReactNode

Gets the row edit text template.

set rowEditTextTemplate(value: (ctx: IgrGridRowEditTextTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowExpandedIndicatorTemplate(): (ctx: IgrGridRowTemplateContext) => React.ReactNode

Returns (ctx: IgrGridRowTemplateContext) => React.ReactNode

Gets the row expand indicator template.

set rowExpandedIndicatorTemplate(value: (ctx: IgrGridRowTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowHeight(): number

Returns number

Gets/Sets the row height.

set rowHeight(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

A list of grid row.

get rowList(): IgrRowDirective[]

Returns IgrRowDirective[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowSelection(): GridSelectionMode

Returns GridSelectionMode

Gets/Sets row selection mode

set rowSelection(value: GridSelectionMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowSelectorTemplate(): (ctx: IgrRowSelectorTemplateContext) => React.ReactNode

Returns (ctx: IgrRowSelectorTemplateContext) => React.ReactNode

Gets the row selector template.

set rowSelectorTemplate(value: (ctx: IgrRowSelectorTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get rowStyles(): any

Returns any

Sets conditional style properties on the grid row element. It accepts an object literal where the keys are the style properties and the value is an expression to be evaluated.

set rowStyles(value: any): void

Parameters

  • value: any

Returns void

Returns an array of the selected grid cells.

get selectedCells(): IgrCellType[]

Returns IgrCellType[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get selectedRows(): any[]

Returns any[]

Gets/Sets the current selection state.

set selectedRows(value: any[]): void

Parameters

  • value: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get selectRowOnClick(): boolean

Returns boolean

Gets/Sets whether clicking over a row should select/deselect it

set selectRowOnClick(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get shouldGenerate(): boolean

Returns boolean

Gets/Sets whether the columns should be auto-generated once again after the initialization of the grid

set shouldGenerate(value: boolean): void

Parameters

  • value: boolean

Returns void

get showGroupArea(): boolean

Returns boolean

Returns whether the grid has group area.

set showGroupArea(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get showSummaryOnCollapse(): boolean

Returns boolean

Controls whether the summary row is visible when groupBy/parent row is collapsed.

set showSummaryOnCollapse(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get snackbarDisplayTime(): number

Returns number

Gets/Sets the display time for the row adding snackbar notification.

set snackbarDisplayTime(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get sortAscendingHeaderIconTemplate(): (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

Returns (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

The custom template, if any, that should be used when rendering a header sorting indicator when columns are sorted in asc order.

set sortAscendingHeaderIconTemplate(value: (ctx: IgrGridHeaderTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get sortDescendingHeaderIconTemplate(): (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

Returns (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

The custom template, if any, that should be used when rendering a header sorting indicator when columns are sorted in desc order.

set sortDescendingHeaderIconTemplate(value: (ctx: IgrGridHeaderTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get sortHeaderIconTemplate(): (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

Returns (ctx: IgrGridHeaderTemplateContext) => React.ReactNode

Gets custom template, if any, that should be used when rendering a header sorting indicator when columns are not sorted.

set sortHeaderIconTemplate(value: (ctx: IgrGridHeaderTemplateContext) => React.ReactNode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get sortingExpressions(): IgrSortingExpression[]

Returns IgrSortingExpression[]

Gets/Sets the sorting state.

set sortingExpressions(value: IgrSortingExpression[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get sortingOptions(): IgrSortingOptions

Returns IgrSortingOptions

Gets/Sets the sorting options - single or multiple sorting. Accepts an ISortingOptions object with any of the mode properties.

set sortingOptions(value: IgrSortingOptions): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get sortStrategy(): IgrGridSortingStrategy

Returns IgrGridSortingStrategy

Gets/Sets the sorting strategy of the grid.

set sortStrategy(value: IgrGridSortingStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get summaryCalculationMode(): GridSummaryCalculationMode

Returns GridSummaryCalculationMode

Gets/Sets the summary calculation mode.

set summaryCalculationMode(value: GridSummaryCalculationMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get summaryPosition(): GridSummaryPosition

Returns GridSummaryPosition

Gets/Sets the summary position.

set summaryPosition(value: GridSummaryPosition): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get summaryRowHeight(): number

Returns number

Get/Set summary row height

set summaryRowHeight(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get toolbar(): IgrGridToolbarComponent[]

Returns IgrGridToolbarComponent[]

get totalItemCount(): number

Returns number

Gets/Sets the total number of records in the data source.

set totalItemCount(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get totalRecords(): number

Returns number

Returns the total number of records.

set totalRecords(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Get transactions service for the grid.

get transactions(): TransactionService

Returns TransactionService

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets an array of unpinned columns.

get unpinnedColumns(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get validationTrigger(): GridValidationTrigger

Returns GridValidationTrigger

Gets/Sets the trigger for validators used when editing the grid.

set validationTrigger(value: GridValidationTrigger): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns the state of the grid virtualization.

get virtualizationState(): IgrForOfState

Returns IgrForOfState

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns an array of visible columns.

get visibleColumns(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

get width(): string

Returns string

Gets/Sets the width of the grid.

set width(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Creates a new grid row and adds the data record to the end of the data source.

addRow(data: any): void

Parameters

  • data: any

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Enters add mode by spawning the UI under the specified row by rowID.

beginAddRowById(rowID: any, asChild: boolean): void

Parameters

  • rowID: any

    The rowID to spawn the add row UI for, or null to spawn it as the first record in the data view

  • asChild: boolean

    Whether the record should be added as a child. Only applicable to igxTreeGrid.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Enters add mode by spawning the UI at the specified index.

beginAddRowByIndex(index: number): void

Parameters

  • index: number

    The index to spawn the UI at. Accepts integers from 0 to this.grid.dataView.length

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Deselect selected cells.

clearCellSelection(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

If name is provided, clears the filtering state of the corresponding column.

clearFilter(name: string): void

Parameters

  • name: string

Returns void

Clears grouping for particular column, array of columns or all columns.

clearGrouping(name: string): void

Parameters

  • name: string

    Name of column or array of column names to be ungrouped.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Removes all the highlights in the cell.

clearSearch(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

If name is provided, clears the sorting state of the corresponding column.

clearSort(name: string): void

Parameters

  • name: string

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Closes the advanced filtering dialog.

closeAdvancedFilteringDialog(applyChanges: boolean): void

Parameters

  • applyChanges: boolean

    indicates whether the changes should be applied

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Collapses all rows.

collapseAll(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Collapses the row by its id.

collapseRow(rowID: any): void

Parameters

  • rowID: any

    The row id - primaryKey value or the data record instance.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Removes the grid row and the corresponding data record by primary key.

deleteRow(rowSelector: any): any

Parameters

  • rowSelector: any

Returns any

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Deselects all columns

deselectAllColumns(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Deselects all rows

deselectAllRows(onlyFilterData: boolean): void

Parameters

  • onlyFilterData: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Deselect specified columns by field.

deselectColumns(columns: string[] | IgrColumnComponent[]): void

Parameters

  • columns: string[] | IgrColumnComponent[]

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Deselect specified rows by ID.

deselectRows(rowIDs: any[]): void

Parameters

  • rowIDs: any[]

Returns void

Deselect all rows within a group.

deselectRowsInGroup(groupRow: IgrGroupByRecord): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Disable summaries for the specified column.

disableSummaries(rest: any[]): void

Parameters

  • rest: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Enables summaries for the specified column and applies your customSummary.

enableSummaries(rest: any[]): void

Parameters

  • rest: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Finishes the row transactions on the current row and returns whether the grid editing was canceled.

endEdit(commit: boolean, evt: any): boolean

Parameters

  • commit: boolean
  • evt: any

Returns boolean

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Expands all rows.

expandAll(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Expands the row by its id.

expandRow(rowID: any): void

Parameters

  • rowID: any

    The row id - primaryKey value or the data record instance.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Filters a single column.

filter(name: string, value: any, conditionOrExpressionTree: IgrFilteringExpressionsTree | IgrFilteringOperation, ignoreCase: boolean): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Filters all the column in the grid with the same condition.

filterGlobal(value: any, condition: any, ignoreCase: any): void

Parameters

  • value: any
  • condition: any
  • ignoreCase: any

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Finds the next occurrence of a given string in the grid and scrolls to the cell if it isn't visible.

findNext(text: string, caseSensitive: boolean, exactMatch: boolean): number

Parameters

  • text: string

    the string to search.

  • caseSensitive: boolean

    optionally, if the search should be case sensitive (defaults to false).

  • exactMatch: boolean

    optionally, if the text should match the entire value (defaults to false).

Returns number

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Finds the previous occurrence of a given string in the grid and scrolls to the cell if it isn't visible.

findPrev(text: string, caseSensitive: boolean, exactMatch: boolean): number

Parameters

  • text: string

    the string to search.

  • caseSensitive: boolean

    optionally, if the search should be case sensitive (defaults to false).

  • exactMatch: boolean

    optionally, if the text should match the entire value (defaults to false).

Returns number

Expands the specified group and all of its parent groups.

fullyExpandGroup(groupRow: IgrGroupByRecord): void

Parameters

Returns void

Returns a CellType object that matches the conditions.

getCellByColumn(rowIndex: number, columnField: string): IgrCellType

Parameters

  • rowIndex: number
  • columnField: string

Returns IgrCellType

Returns a CellType object that matches the conditions.

getCellByKey(rowSelector: any, columnField: string): IgrCellType

Parameters

  • rowSelector: any

    match any rowID

  • columnField: string

Returns IgrCellType

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns the column by field name.

getColumnByName(name: string): IgrColumnComponent

Parameters

  • name: string

Returns IgrColumnComponent

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

getColumnByVisibleIndex(index: number): IgrColumnComponent

Parameters

  • index: number

Returns IgrColumnComponent

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets the width to be set on grid header group.

getHeaderGroupWidth(column: IgrColumnComponent): string

Parameters

  • column: IgrColumnComponent

Returns string

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns ICellPosition which defines the next cell, according to the current position, that match specific criteria.

getNextCell(currRowIndex: number, curVisibleColIndex: number, callback: any): IgrCellPosition

Parameters

  • currRowIndex: number
  • curVisibleColIndex: number
  • callback: any

Returns IgrCellPosition

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets calculated width of the pinned areas.

getPinnedEndWidth(takeHidden: boolean): void

Parameters

  • takeHidden: boolean

    If we should take into account the hidden columns in the pinned area.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Gets calculated width of the pinned areas.

getPinnedStartWidth(takeHidden: boolean): void

Parameters

  • takeHidden: boolean

    If we should take into account the hidden columns in the pinned area.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns ICellPosition which defines the previous cell, according to the current position, that match specific criteria.

getPreviousCell(currRowIndex: number, curVisibleColIndex: number, callback: any): IgrCellPosition

Parameters

  • currRowIndex: number
  • curVisibleColIndex: number
  • callback: any

Returns IgrCellPosition

Returns the grid row by index.

getRowByIndex(index: number): IgrRowType

Parameters

  • index: number

Returns IgrRowType

Returns grid row object by the specified primary key.

getRowByKey(key: any): IgrRowType

Parameters

  • key: any

Returns IgrRowType

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns the data that is contained in the row component.

getRowData(rowSelector: any): any

Parameters

  • rowSelector: any

    correspond to rowID

Returns any

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns an array of the current columns selection in the form of [{ column.field: cell.value }, ...].

getSelectedColumnsData(formatters: boolean, headers: boolean): void

Parameters

  • formatters: boolean
  • headers: boolean

Returns void

Returns an array of the current cell selection in the form of [{ column.field: cell.value }, ...].

getSelectedData(formatters: boolean, headers: boolean): any[]

Parameters

  • formatters: boolean
  • headers: boolean

Returns any[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Get the currently selected ranges in the grid.

getSelectedRanges(): IgrGridSelectionRange[]

Returns IgrGridSelectionRange[]

Groups by a new column based on the provided expression, or modifies an existing one.

groupBy(expression: IgrGroupingExpression[]): void

Parameters

Returns void

Returns if a group is expanded or not.

isExpandedGroup(group: IgrGroupByRecord): boolean

Parameters

Returns boolean

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Returns whether the record is pinned or not.

isRecordPinnedByIndex(rowIndex: number): void

Parameters

  • rowIndex: number

    Index of the record in the filteredSortedData collection.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Triggers change detection for the grid. Calling markForCheck also triggers the grid pipes explicitly, resulting in all updates being processed. May degrade performance if used when not needed, or if misused:

markForCheck(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Places a column before or after the specified target column.

moveColumn(column: IgrColumnComponent, target: IgrColumnComponent, pos: DropPosition): void

Parameters

  • column: IgrColumnComponent
  • target: IgrColumnComponent
  • pos: DropPosition

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Navigates to a position in the grid based on provided rowindex and visibleColumnIndex.

navigateTo(rowIndex: number, visibleColIndex: number, cb: any): void

Parameters

  • rowIndex: number
  • visibleColIndex: number
  • cb: any

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Opens the advanced filtering dialog.

openAdvancedFilteringDialog(overlaySettings: IgrOverlaySettings): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Pins a column by field name.

pinColumn(columnName: string, index: number, pinningPosition: ColumnPinningPosition): boolean

Parameters

Returns boolean

Pin the row by its id.

pinRow(rowID: any, index: number): boolean

Parameters

  • rowID: any

    The row id - primaryKey value or the data record instance.

  • index: number

    The index at which to insert the row in the pinned collection.

Returns boolean

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Recalculates all widths of columns that have size set to auto.

recalculateAutoSizes(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Recalculates grid width/height dimensions.

reflow(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Reapplies the existing search.

refreshSearch(updateActiveInfo: boolean, endEdit: boolean): number

Parameters

  • updateActiveInfo: boolean
  • endEdit: boolean

Returns number

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Selects all columns

selectAllColumns(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Selects all rows

selectAllRows(onlyFilterData: boolean): void

Parameters

  • onlyFilterData: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Select specified columns.

selectColumns(columns: string[] | IgrColumnComponent[], clearCurrentSelection: boolean): void

Parameters

  • columns: string[] | IgrColumnComponent[]
  • clearCurrentSelection: boolean

    if true clears the current selection

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Get current selected columns.

selectedColumns(): IgrColumnComponent[]

Returns IgrColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Select range(s) of cells between certain rows and columns of the grid.

selectRange(arg: IgrGridSelectionRange[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Select specified rows by ID.

selectRows(rowIDs: any[], clearCurrentSelection: boolean): void

Parameters

  • rowIDs: any[]
  • clearCurrentSelection: boolean

    if true clears the current selection

Returns void

Select all rows within a group.

selectRowsInGroup(groupRow: IgrGroupByRecord, clearPrevSelection: boolean): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Sort a single column.

sort(expression: IgrSortingExpression[]): void

Parameters

Returns void

Toggles the expansion state of all group rows recursively.

toggleAllGroupRows(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Toggles the specified column's visibility.

toggleColumnVisibility(args: IgrColumnVisibilityChangedEventArgs): void

Parameters

Returns void

Toggles the expansion state of a group.

toggleGroup(groupRow: IgrGroupByRecord): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Toggles the row by its id.

toggleRow(rowID: any): void

Parameters

  • rowID: any

    The row id - primaryKey value or the data record instance.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Unpins a column by field name. Returns whether the operation is successful.

unpinColumn(columnName: string, index: number): boolean

Parameters

  • columnName: string
  • index: number

Returns boolean

Unpin the row by its id.

unpinRow(rowID: any): boolean

Parameters

  • rowID: any

    The row id - primaryKey value or the data record instance.

Returns boolean

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Updates the grid row and the corresponding data record by primary key.

updateCell(value: any, rowSelector: any, column: string): void

Parameters

  • value: any

    the new value which is to be set.

  • rowSelector: any

    corresponds to rowID.

  • column: string

    corresponds to column field.

Returns void

Inherited from: EventEmitterMixin<IgcGridBaseComponentEventMap, AbstractConstructor<IgcGridBaseDirective>>(IgcGridBaseDirective)

Updates the grid row

updateRow(value: any, rowSelector: any): void

Parameters

  • value: any
  • rowSelector: any

    correspond to rowID

Returns void

onActiveNodeChange(args: CustomEvent<IgrActiveNodeChangeEventArgs>): void

Parameters

Returns void

onAdvancedFilteringExpressionsTreeChange

Section titled "onAdvancedFilteringExpressionsTreeChange"
onAdvancedFilteringExpressionsTreeChange(args: CustomEvent<IgrFilteringExpressionsTree>): void

Parameters

Returns void

onCellClick(args: CustomEvent<IgrGridCellEventArgs>): void

Parameters

Returns void

onCellEdit(args: CustomEvent<IgrGridEditEventArgs>): void

Parameters

Returns void

onCellEditDone(args: CustomEvent<IgrGridEditDoneEventArgs>): void

Parameters

Returns void

onCellEditEnter(args: CustomEvent<IgrGridEditEventArgs>): void

Parameters

Returns void

onCellEditExit(args: CustomEvent<IgrGridEditDoneEventArgs>): void

Parameters

Returns void

onChildrenResolved(args: CustomEvent<void>): void

Parameters

Returns void

onColumnInit(args: CustomEvent<IgrColumnComponent>): void

Parameters

Returns void

onColumnMoving(args: CustomEvent<IgrColumnMovingEventArgs>): void

Parameters

Returns void

onColumnMovingEnd(args: CustomEvent<IgrColumnMovingEndEventArgs>): void

Parameters

Returns void

onColumnMovingStart(args: CustomEvent<IgrColumnMovingStartEventArgs>): void

Parameters

Returns void

onColumnPin(args: CustomEvent<IgrPinColumnCancellableEventArgs>): void

Parameters

Returns void

onColumnPinned(args: CustomEvent<IgrPinColumnEventArgs>): void

Parameters

Returns void

onColumnResized(args: CustomEvent<IgrColumnResizeEventArgs>): void

Parameters

Returns void

onColumnsAutogenerated(args: CustomEvent<IgrColumnsAutoGeneratedEventArgs>): void

Parameters

Returns void

onColumnSelectionChanging(args: CustomEvent<IgrColumnSelectionEventArgs>): void

Parameters

Returns void

onColumnVisibilityChanged(args: CustomEvent<IgrColumnVisibilityChangedEventArgs>): void

Parameters

Returns void

onColumnVisibilityChanging(args: CustomEvent<IgrColumnVisibilityChangingEventArgs>): void

Parameters

Returns void

onContextMenu(args: CustomEvent<IgrGridContextMenuEventArgs>): void

Parameters

Returns void

onDataChanged(args: CustomEvent<IgrForOfDataChangeEventArgs>): void

Parameters

Returns void

onDataChanging(args: CustomEvent<IgrForOfDataChangeEventArgs>): void

Parameters

Returns void

onDataPreLoad(args: CustomEvent<IgrForOfState>): void

Parameters

Returns void

onDoubleClick(args: CustomEvent<IgrGridCellEventArgs>): void

Parameters

Returns void

onExpansionStatesChange(args: CustomEvent<Map<any, boolean>>): void

Parameters

Returns void

onFiltering(args: CustomEvent<IgrFilteringEventArgs>): void

Parameters

Returns void

onFilteringDone(args: CustomEvent<IgrFilteringExpressionsTree>): void

Parameters

Returns void

onFilteringExpressionsTreeChange(args: CustomEvent<IgrFilteringExpressionsTree>): void

Parameters

Returns void

onFormGroupCreated(args: CustomEvent<IgrGridFormGroupCreatedEventArgs>): void

Parameters

Returns void

onGridCopy(args: CustomEvent<IgrGridClipboardEvent>): void

Parameters

Returns void

onGridKeydown(args: CustomEvent<IgrGridKeydownEventArgs>): void

Parameters

Returns void

onGridScroll(args: CustomEvent<IgrGridScrollEventArgs>): void

Parameters

Returns void

onGroupingDone(args: CustomEvent<IgrGroupingDoneEventArgs>): void

Parameters

Returns void

onGroupingExpansionStateChange(args: CustomEvent<IgrGroupByExpandState[]>): void

Parameters

Returns void

onGroupingExpressionsChange(args: CustomEvent<IgrGroupingExpression[]>): void

Parameters

Returns void

onRangeSelected(args: CustomEvent<IgrGridSelectionRange>): void

Parameters

Returns void

onRendered(args: CustomEvent<boolean>): void

Parameters

Returns void

onRowAdd(args: CustomEvent<IgrRowDataCancelableEventArgs>): void

Parameters

Returns void

onRowAdded(args: CustomEvent<IgrRowDataEventArgs>): void

Parameters

Returns void

onRowClick(args: CustomEvent<IgrGridRowEventArgs>): void

Parameters

Returns void

onRowDelete(args: CustomEvent<IgrRowDataCancelableEventArgs>): void

Parameters

Returns void

onRowDeleted(args: CustomEvent<IgrRowDataEventArgs>): void

Parameters

Returns void

onRowDragEnd(args: CustomEvent<IgrRowDragEndEventArgs>): void

Parameters

Returns void

onRowDragStart(args: CustomEvent<IgrRowDragStartEventArgs>): void

Parameters

Returns void

onRowEdit(args: CustomEvent<IgrGridEditEventArgs>): void

Parameters

Returns void

onRowEditDone(args: CustomEvent<IgrGridEditDoneEventArgs>): void

Parameters

Returns void

onRowEditEnter(args: CustomEvent<IgrGridEditEventArgs>): void

Parameters

Returns void

onRowEditExit(args: CustomEvent<IgrGridEditDoneEventArgs>): void

Parameters

Returns void

onRowPinned(args: CustomEvent<IgrPinRowEventArgs>): void

Parameters

Returns void

onRowPinning(args: CustomEvent<IgrPinRowEventArgs>): void

Parameters

Returns void

onRowSelectionChanging(args: CustomEvent<IgrRowSelectionEventArgs>): void

Parameters

Returns void

onRowToggle(args: CustomEvent<IgrRowToggleEventArgs>): void

Parameters

Returns void

onSelected(args: CustomEvent<IgrGridCellEventArgs>): void

Parameters

Returns void

onSelectedRowsChange(args: CustomEvent<any[]>): void

Parameters

Returns void

onSorting(args: CustomEvent<IgrSortingEventArgs>): void

Parameters

Returns void

onSortingDone(args: CustomEvent<IgrSortingExpression[]>): void

Parameters

Returns void

onSortingExpressionsChange(args: CustomEvent<IgrSortingExpression[]>): void

Parameters

Returns void

onToolbarExporting(args: CustomEvent<IgrGridToolbarExportEventArgs>): void

Parameters

Returns void

onValidationStatusChange(args: CustomEvent<IgrGridValidationStatusEventArgs>): void

Parameters

Returns void