Grid provides a way to present and manipulate tabular data.

IgcGridComponent

new IgcGridComponent(args: any[]): IgcGridComponent

Returns IgcGridComponent

The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference

tagName: string
get actionStripComponents(): IgcActionStripToken[]

Returns IgcActionStripToken[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get addRowEmptyTemplate(): IgcRenderFunction<void>

Returns IgcRenderFunction<void>

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

set addRowEmptyTemplate(value: IgcRenderFunction<void>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get advancedFilteringExpressionsTree(): IgcFilteringExpressionsTree

Returns IgcFilteringExpressionsTree

Gets/Sets the advanced filtering state.

set advancedFilteringExpressionsTree(value: IgcFilteringExpressionsTree): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get cellMergeMode(): GridCellMergeMode

Returns GridCellMergeMode

Gets/Sets cell merge mode.

set cellMergeMode(value: GridCellMergeMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get cellSelection(): GridSelectionMode

Returns GridSelectionMode

Gets/Sets cell selection mode.

set cellSelection(value: GridSelectionMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get clipboardOptions(): IgcClipboardOptions

Returns IgcClipboardOptions

Controls the copy behavior of the grid.

set clipboardOptions(value: IgcClipboardOptions): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get columnList(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets an array of columns.

get columns(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get columnSelection(): GridSelectionMode

Returns GridSelectionMode

Gets/Sets column selection mode

set columnSelection(value: GridSelectionMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get columnWidth(): string

Returns string

Gets/Sets the default width of the columns.

set columnWidth(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get dataCloneStrategy(): IgcDataCloneStrategy

Returns IgcDataCloneStrategy

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

set dataCloneStrategy(value: IgcDataCloneStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

A list of currently rendered grid row's.

get dataRowList(): IgcRowDirective[]

Returns IgcRowDirective[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

get dataView(): any[]

Returns any[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the default row height.

get defaultRowHeight(): number

Returns number

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns a reference to the master-detail template.

set detailTemplate(value: IgcRenderFunction<IgcGridMasterDetailContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

set dragGhostCustomTemplate(value: IgcRenderFunction<IgcGridRowDragGhostContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

set dragIndicatorIconTemplate(value: IgcRenderFunction<IgcGridEmptyTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get dropAreaTemplate(): IgcRenderFunction<void>

Returns IgcRenderFunction<void>

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

set dropAreaTemplate(value: IgcRenderFunction<void>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets/Sets a custom template when empty.

set emptyGridTemplate(value: IgcRenderFunction<IgcGridTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the excel style header icon.

set excelStyleHeaderIconTemplate(value: IgcRenderFunction<IgcGridHeaderTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns an array of objects containing the filtered data.

get filteredData(): any

Returns any

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns an array containing the filtered sorted data.

get filteredSortedData(): any[]

Returns any[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get filteringExpressionsTree(): IgcFilteringExpressionsTree

Returns IgcFilteringExpressionsTree

Gets/Sets the filtering state.

set filteringExpressionsTree(value: IgcFilteringExpressionsTree): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get filteringLogic(): FilteringLogic

Returns FilteringLogic

Gets/Sets the filtering logic of the grid.

set filteringLogic(value: FilteringLogic): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get filterMode(): FilterMode

Returns FilterMode

Gets/Sets the filter mode.

set filterMode(value: FilterMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get filterStrategy(): IgcFilteringStrategy

Returns IgcFilteringStrategy

Gets/Sets the filtering strategy of the grid.

set filterStrategy(value: IgcFilteringStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the group by row selector template.

set groupByRowSelectorTemplate(value: IgcRenderFunction<IgcGroupByRowSelectorTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get groupingExpansionState(): IgcGroupByExpandState[]

Returns IgcGroupByExpandState[]

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

set groupingExpansionState(value: IgcGroupByExpandState[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get groupingExpressions(): IgcGroupingExpression[]

Returns IgcGroupingExpression[]

Gets/Sets the group by state.

set groupingExpressions(value: IgcGroupingExpression[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets/Sets the template reference for the group row.

set groupRowTemplate(value: IgcRenderFunction<IgcGroupByRowTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the hierarchical representation of the group by records.

get groupsRecords(): IgcGroupByRecord[]

Returns IgcGroupByRecord[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get groupStrategy(): IgcGridGroupingStrategy

Returns IgcGridGroupingStrategy

Gets/Sets the grouping strategy of the grid.

set groupStrategy(value: IgcGridGroupingStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get headerCollapsedIndicatorTemplate(): IgcRenderFunction<IgcGridTemplateContext>

Returns IgcRenderFunction<IgcGridTemplateContext>

Gets the row collapse indicator template.

set headerCollapsedIndicatorTemplate(value: IgcRenderFunction<IgcGridTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get headerExpandedIndicatorTemplate(): IgcRenderFunction<IgcGridTemplateContext>

Returns IgcRenderFunction<IgcGridTemplateContext>

Gets the header expand indicator template.

set headerExpandedIndicatorTemplate(value: IgcRenderFunction<IgcGridTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the header row selector template.

set headSelectorTemplate(value: IgcRenderFunction<IgcHeadSelectorTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get height(): string

Returns string

Gets/Sets the height.

set height(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the number of hidden columns.

get hiddenColumnsCount(): number

Returns number

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get hideRowSelectors(): boolean

Returns boolean

Gets/Sets if the row selectors are hidden.

set hideRowSelectors(value: boolean): void

Parameters

  • value: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Represents the last search information.

get lastSearchInfo(): IgcSearchInfo

Returns IgcSearchInfo

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets/Sets a custom template when loading.

set loadingGridTemplate(value: IgcRenderFunction<IgcGridTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get locale(): string

Returns string

Gets/Sets the locale.

set locale(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get mergeStrategy(): IgcGridMergeStrategy

Returns IgcGridMergeStrategy

Gets/Sets the merge strategy of the grid.

set mergeStrategy(value: IgcGridMergeStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

set outlet(value: IgcOverlayOutletDirective): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get paginationComponents(): IgcPaginatorComponent[]

Returns IgcPaginatorComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get pagingMode(): GridPagingMode

Returns GridPagingMode

set pagingMode(value: GridPagingMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets an array of the pinned columns.

get pinnedColumns(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the number of pinned columns.

get pinnedColumnsCount(): number

Returns number

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets an array of the pinned to the right columns.

get pinnedEndColumns(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets an array of the pinned rows.

get pinnedRows(): IgcGridRowComponent[]

Returns IgcGridRowComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets an array of the pinned to the left columns.

get pinnedStartColumns(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get pinning(): IgcPinningConfig

Returns IgcPinningConfig

Gets/Sets the initial pinning configuration.

set pinning(value: IgcPinningConfig): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get primaryKey(): string

Returns string

Gets/Sets the primary key.

set primaryKey(value: string): void

Parameters

  • value: string

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get resourceStrings(): IgcGridResourceStrings

Returns IgcGridResourceStrings

Gets/Sets the resource strings.

set resourceStrings(value: IgcGridResourceStrings): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the row add text template.

set rowAddTextTemplate(value: IgcRenderFunction<IgcGridEmptyTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the row collapse indicator template.

set rowCollapsedIndicatorTemplate(value: IgcRenderFunction<IgcGridRowTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the row edit actions template.

set rowEditActionsTemplate(value: IgcRenderFunction<IgcGridRowEditActionsTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the row edit text template.

set rowEditTextTemplate(value: IgcRenderFunction<IgcGridRowEditTextTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the row expand indicator template.

set rowExpandedIndicatorTemplate(value: IgcRenderFunction<IgcGridRowTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get rowHeight(): number

Returns number

Gets/Sets the row height.

set rowHeight(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

A list of grid row.

get rowList(): IgcRowDirective[]

Returns IgcRowDirective[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get rowSelection(): GridSelectionMode

Returns GridSelectionMode

Gets/Sets row selection mode

set rowSelection(value: GridSelectionMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the row selector template.

set rowSelectorTemplate(value: IgcRenderFunction<IgcRowSelectorTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns an array of the selected grid cells.

get selectedCells(): IgcCellType[]

Returns IgcCellType[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get selectedRows(): any[]

Returns any[]

Gets/Sets the current selection state.

set selectedRows(value: any[]): void

Parameters

  • value: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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: IgcRenderFunction<IgcGridHeaderTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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: IgcRenderFunction<IgcGridHeaderTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

set sortHeaderIconTemplate(value: IgcRenderFunction<IgcGridHeaderTemplateContext>): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get sortingExpressions(): IgcSortingExpression[]

Returns IgcSortingExpression[]

Gets/Sets the sorting state.

set sortingExpressions(value: IgcSortingExpression[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get sortingOptions(): IgcSortingOptions

Returns IgcSortingOptions

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

set sortingOptions(value: IgcSortingOptions): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get sortStrategy(): IgcGridSortingStrategy

Returns IgcGridSortingStrategy

Gets/Sets the sorting strategy of the grid.

set sortStrategy(value: IgcGridSortingStrategy): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get summaryCalculationMode(): GridSummaryCalculationMode

Returns GridSummaryCalculationMode

Gets/Sets the summary calculation mode.

set summaryCalculationMode(value: GridSummaryCalculationMode): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get summaryPosition(): GridSummaryPosition

Returns GridSummaryPosition

Gets/Sets the summary position.

set summaryPosition(value: GridSummaryPosition): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get summaryRowHeight(): number

Returns number

Get/Set summary row height

set summaryRowHeight(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

get totalRecords(): number

Returns number

Returns the total number of records.

set totalRecords(value: number): void

Parameters

  • value: number

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Get transactions service for the grid.

get transactions(): TransactionService

Returns TransactionService

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets an array of unpinned columns.

get unpinnedColumns(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns the state of the grid virtualization.

get virtualizationState(): IgcForOfState

Returns IgcForOfState

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns an array of visible columns.

get visibleColumns(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

addEventListener(type: K, listener: object, options: boolean | AddEventListenerOptions): void

Parameters

  • type: K
  • listener: object
  • options: boolean | AddEventListenerOptions

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Deselect selected cells.

clearCellSelection(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

clearFilter(name: string): void

Parameters

  • name: string

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Removes all the highlights in the cell.

clearSearch(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

clearSort(name: string): void

Parameters

  • name: string

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Closes the advanced filtering dialog.

closeAdvancedFilteringDialog(applyChanges: boolean): void

Parameters

  • applyChanges: boolean

    indicates whether the changes should be applied

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Collapses all rows.

collapseAll(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

deleteRow(rowSelector: any): any

Parameters

  • rowSelector: any

Returns any

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Deselects all columns

deselectAllColumns(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Deselects all rows

deselectAllRows(onlyFilterData: boolean): void

Parameters

  • onlyFilterData: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Deselect specified columns by field.

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

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Deselect specified rows by ID.

deselectRows(rowIDs: any[]): void

Parameters

  • rowIDs: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Deselect all rows within a group.

deselectRowsInGroup(groupRow: IgcGroupByRecord): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Disable summaries for the specified column.

disableSummaries(rest: any[]): void

Parameters

  • rest: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Enables summaries for the specified column and applies your customSummary.

enableSummaries(rest: any[]): void

Parameters

  • rest: any[]

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Expands all rows.

expandAll(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Filters a single column.

filter(name: string, value: any, conditionOrExpressionTree: IgcFilteringExpressionsTree | IgcFilteringOperation, ignoreCase: boolean): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Expands the specified group and all of its parent groups.

fullyExpandGroup(groupRow: IgcGroupByRecord): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns a CellType object that matches the conditions.

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

Parameters

  • rowIndex: number
  • columnField: string

Returns IgcCellType

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns a CellType object that matches the conditions.

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

Parameters

  • rowSelector: any

    match any rowID

  • columnField: string

Returns IgcCellType

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns the column by field name.

getColumnByName(name: string): IgcColumnComponent

Parameters

  • name: string

Returns IgcColumnComponent

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

getColumnByVisibleIndex(index: number): IgcColumnComponent

Parameters

  • index: number

Returns IgcColumnComponent

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Gets the width to be set on grid header group.

getHeaderGroupWidth(column: IgcColumnComponent): string

Parameters

Returns string

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

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

Parameters

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

Returns IgcCellPosition

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

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

Parameters

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

Returns IgcCellPosition

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns the grid row by index.

getRowByIndex(index: number): IgcRowType

Parameters

  • index: number

Returns IgcRowType

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns grid row object by the specified primary key.

getRowByKey(key: any): IgcRowType

Parameters

  • key: any

Returns IgcRowType

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Get the currently selected ranges in the grid.

getSelectedRanges(): IgcGridSelectionRange[]

Returns IgcGridSelectionRange[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

groupBy(expression: IgcGroupingExpression[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Returns if a group is expanded or not.

isExpandedGroup(group: IgcGroupByRecord): boolean

Parameters

Returns boolean

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Places a column before or after the specified target column.

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

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Opens the advanced filtering dialog.

openAdvancedFilteringDialog(overlaySettings: IgcOverlaySettings): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Pins a column by field name.

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

Parameters

Returns boolean

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

recalculateAutoSizes(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Recalculates grid width/height dimensions.

reflow(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Reapplies the existing search.

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

Parameters

  • updateActiveInfo: boolean
  • endEdit: boolean

Returns number

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

removeEventListener(type: K, listener: object, options: boolean | EventListenerOptions): void

Parameters

  • type: K
  • listener: object
  • options: boolean | EventListenerOptions

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Selects all columns

selectAllColumns(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Selects all rows

selectAllRows(onlyFilterData: boolean): void

Parameters

  • onlyFilterData: boolean

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Select specified columns.

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

Parameters

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

    if true clears the current selection

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Get current selected columns.

selectedColumns(): IgcColumnComponent[]

Returns IgcColumnComponent[]

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

selectRange(arg: IgcGridSelectionRange[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Select specified rows by ID.

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

Parameters

  • rowIDs: any[]
  • clearCurrentSelection: boolean

    if true clears the current selection

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Select all rows within a group.

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

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Sort a single column.

sort(expression: IgcSortingExpression[]): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Toggles the expansion state of all group rows recursively.

toggleAllGroupRows(): void

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Toggles the specified column's visibility.

toggleColumnVisibility(args: IgcColumnVisibilityChangedEventArgs): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Toggles the expansion state of a group.

toggleGroup(groupRow: IgcGroupByRecord): void

Parameters

Returns void

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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

Inherited from: EventEmitterMixin<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

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<IgcGridComponentEventMap, Constructor<IgcGridBaseComponent>>(IgcGridBaseComponent)

Updates the grid row

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

Parameters

  • value: any
  • rowSelector: any

    correspond to rowID

Returns void

register(): void

Returns void

Emitted when the active node is changed.

activeNodeChange: CustomEvent<IgcActiveNodeChangeEventArgs>

advancedFilteringExpressionsTreeChange

Section titled "advancedFilteringExpressionsTreeChange"

Emitted after advanced filtering is performed.

advancedFilteringExpressionsTreeChange: CustomEvent<IgcFilteringExpressionsTree>

Emitted when a cell is clicked.

cellClick: CustomEvent<IgcGridCellEventArgs>

Emitted when cell has been edited.

cellEdit: CustomEvent<IgcGridEditEventArgs>

Emitted after cell has been edited and editing has been committed.

cellEditDone: CustomEvent<IgcGridEditDoneEventArgs>

Emitted when cell enters edit mode.

cellEditEnter: CustomEvent<IgcGridEditEventArgs>

Emitted when cell exits edit mode.

cellEditExit: CustomEvent<IgcGridEditDoneEventArgs>

Emitted when content children are resolved and collections in grid are updated.

childrenResolved: CustomEvent<void>

Emitted when a column is initialized.

columnInit: CustomEvent<IgcColumnComponent>

Emitted during the column moving operation.

columnMoving: CustomEvent<IgcColumnMovingEventArgs>

Emitted when column moving ends.

columnMovingEnd: CustomEvent<IgcColumnMovingEndEventArgs>

Emitted when column moving starts.

columnMovingStart: CustomEvent<IgcColumnMovingStartEventArgs>

Emitted before column is pinned.

columnPin: CustomEvent<IgcPinColumnCancellableEventArgs>

Emitted after column is pinned.

columnPinned: CustomEvent<IgcPinColumnEventArgs>

Emitted after column is resized.

columnResized: CustomEvent<IgcColumnResizeEventArgs>
columnsAutogenerated: CustomEvent<IgcColumnsAutoGeneratedEventArgs>

Emitted when column is selected.

columnSelectionChanging: CustomEvent<IgcColumnSelectionEventArgs>

Emitted after column visibility is changed.

columnVisibilityChanged: CustomEvent<IgcColumnVisibilityChangedEventArgs>

Emitted before column visibility is changed.

columnVisibilityChanging: CustomEvent<IgcColumnVisibilityChangingEventArgs>

Emitted when a cell or row is right clicked.

contextMenu: CustomEvent<IgcGridContextMenuEventArgs>

Emitted after the grid's data view is changed because of a data operation, rebinding, etc.

dataChanged: CustomEvent<IgcForOfDataChangeEventArgs>

Emitted before the grid's data view is changed because of a data operation, rebinding, etc.

dataChanging: CustomEvent<IgcForOfDataChangeEventArgs>

Emitted when a new chunk of data is loaded from virtualization.

dataPreLoad: CustomEvent<IgcForOfState>

Emitted when a cell is double clicked.

doubleClick: CustomEvent<IgcGridCellEventArgs>

Emitted when the rows are expanded or collapsed.

expansionStatesChange: CustomEvent<Map<any, boolean>>

Emitted before filtering expressions are applied.

filtering: CustomEvent<IgcFilteringEventArgs>

Emitted after filtering is performed through the UI.

filteringDone: CustomEvent<IgcFilteringExpressionsTree>

Emitted after filtering is performed.

filteringExpressionsTreeChange: CustomEvent<IgcFilteringExpressionsTree>

Emitted when formGroup is created on edit of row/cell.

formGroupCreated: CustomEvent<IgcGridFormGroupCreatedEventArgs>

Emitted when a copy operation is executed.

gridCopy: CustomEvent<IgcGridClipboardEvent>

Emitted when keydown is triggered over element inside grid's body.

gridKeydown: CustomEvent<IgcGridKeydownEventArgs>

Emitted when grid is scrolled horizontally/vertically.

gridScroll: CustomEvent<IgcGridScrollEventArgs>

Emitted when columns are grouped/ungrouped.

groupingDone: CustomEvent<IgcGroupingDoneEventArgs>

Emitted when groups are expanded/collapsed.

groupingExpansionStateChange: CustomEvent<IgcGroupByExpandState[]>

Emitted when grouping is performed.

groupingExpressionsChange: CustomEvent<IgcGroupingExpression[]>

Emitted when making a range selection.

rangeSelected: CustomEvent<IgcGridSelectionRange>

Emitted after the ngAfterViewInit hook. At this point the grid exists in the DOM

rendered: CustomEvent<boolean>

Emmited just before the newly added row is commited.

rowAdd: CustomEvent<IgcRowDataCancelableEventArgs>

Emitted when a row is added.

rowAdded: CustomEvent<IgcRowDataEventArgs>

Emitted when a row is clicked.

rowClick: CustomEvent<IgcGridRowEventArgs>

Emmited when deleting a row.

rowDelete: CustomEvent<IgcRowDataCancelableEventArgs>

Emitted when a row is deleted.

rowDeleted: CustomEvent<IgcRowDataEventArgs>

Emitted when dropping a row.

rowDragEnd: CustomEvent<IgcRowDragEndEventArgs>

Emitted when start dragging a row.

rowDragStart: CustomEvent<IgcRowDragStartEventArgs>

Emitted when exiting edit mode for a row.

rowEdit: CustomEvent<IgcGridEditEventArgs>

Emitted after exiting edit mode for a row and editing has been committed.

rowEditDone: CustomEvent<IgcGridEditDoneEventArgs>

Emitted when a row enters edit mode.

rowEditEnter: CustomEvent<IgcGridEditEventArgs>

Emitted when row editing is canceled.

rowEditExit: CustomEvent<IgcGridEditDoneEventArgs>

Emitted when the pinned state of a row is changed.

rowPinned: CustomEvent<IgcPinRowEventArgs>

Emitted when the pinned state of a row is changed.

rowPinning: CustomEvent<IgcPinRowEventArgs>

Emitted when grid row is selected.

rowSelectionChanging: CustomEvent<IgcRowSelectionEventArgs>

Emitted when the expanded state of a row gets changed.

rowToggle: CustomEvent<IgcRowToggleEventArgs>

Emitted when a cell is selected.

selected: CustomEvent<IgcGridCellEventArgs>

Emitted when the rows are selected or deselected.

selectedRowsChange: CustomEvent<any[]>

Emitted before sorting expressions are applied.

sorting: CustomEvent<IgcSortingEventArgs>

Emitted after sorting is completed.

sortingDone: CustomEvent<IgcSortingExpression[]>

Emitted before sorting is performed.

sortingExpressionsChange: CustomEvent<IgcSortingExpression[]>

Emitted when an export process is initiated by the user.

toolbarExporting: CustomEvent<IgcGridToolbarExportEventArgs>

Emitted when grid's validation status changes.

validationStatusChange: CustomEvent<IgcGridValidationStatusEventArgs>