IgcGridLite is a web component for displaying data in a tabular format quick and easy.

Out of the box it provides row virtualization, sort and filter operations (client and server side), the ability to template cells and headers and column hiding.

adoptRootStyles: boolean

Whether the grid will try to "resolve" its column configuration based on the passed data source.

autoGenerate: boolean

Sets the column configuration for the grid.

columns: ColumnConfiguration<T>[]

The data source for the grid.

data: T[]

Configuration object which controls remote data operations for the grid.

dataPipelineConfiguration: DataPipelineConfiguration<T>

Set the filter state for the grid.

filterExpressions: FilterExpression<T>[]

Set the sort state for the grid.

sortingExpressions: SortingExpression<T>[]

Sort configuration property for the grid.

sortingOptions: GridLiteSortingOptions

Returns the state of the data source after sort/filter operations have been applied.

get dataView(): readonly T[]

Returns readonly T[]

Returns the collection of rendered row elements in the grid.

get rows(): IgcGridLiteRow<T>[]

Returns IgcGridLiteRow<T>[]

[object Object],[object Object],[object Object]

get totalItems(): number

Returns number

Resets the current filter state of the control.

clearFilter(key: Keys<T>): void

Parameters

Returns void

Resets the current sort state of the control.

clearSort(key: Keys<T>): void

Parameters

Returns void

Performs a filter operation in the grid based on the passed expression(s).

filter(config: FilterExpression<T> | FilterExpression<T>[]): void

Parameters

Returns void

Returns a ColumnConfiguration for a given column.

getColumn(id: number | Keys<T>): ColumnConfiguration<T> | undefined

Parameters

  • id: number | Keys<T>

Returns ColumnConfiguration<T> | undefined

Navigates to a position in the grid based on provided row index and column field.

navigateTo(row: number, options: NavigateToOptions<T>): Promise<void>

Parameters

  • row: number

    The row index to navigate to

  • options: NavigateToOptions<T>

    The column field to navigate to and whether to activate the cell

Returns Promise<void>

Performs a sort operation in the grid based on the passed expression(s).

sort(expressions: SortingExpression<T> | SortingExpression<T>[]): void

Parameters

Returns void

onFiltered(args: CustomEvent<IgrFilteredEvent<any>>): void

Parameters

Returns void

onFiltering(args: CustomEvent<IgrFilteringEvent<any>>): void

Parameters

Returns void

onSorted(args: CustomEvent<BaseSortingExpression<any, any>>): void

Parameters

Returns void

onSorting(args: CustomEvent<BaseSortingExpression<any, any>>): void

Parameters

Returns void