Infinite Table for Angular
A million rows, zero dependencies, fully declarative. Grouping, pivoting, aggregations, lazy loading and live updates, in one Angular component, with signals and templates.
npm i @infinite-table/infinite-angularThe grid scrolls its header and body on the same frame. The header never trails the cells, and a fast fling never shows blank rows.
Rows and columns are both virtualized: only what is on screen is ever rendered.
Pick a theme, a mode and a density. Each one is a CSS file and a class, and every value is a CSS variable you can override.
Group by one field, pivot by another, add an aggregation. The pivot columns are generated for you, and the DataSource gives them to the grid as signals.
@Component({
imports: [DataSource, InfiniteTable],
template: `
<infinite-data-source
#ds="infiniteDataSource"
[data]="trades"
primaryKey="id"
[groupBy]="[{ field: 'sector' }]"
[pivotBy]="[{ field: 'region' }]"
[aggregationReducers]="{
pnl: { field: 'pnl', initialValue: 0, reducer: sum }
}"
>
<infinite-table
[pivotColumns]="ds.pivotColumns()"
[pivotColumnGroups]="ds.pivotColumnGroups()"
/>
</infinite-data-source>
`,
})
export class Pivot {
trades = trades;
sum = (a: number, b: number) => a + b;
}No plugins to wire up and no modules to register. Every feature is an input of the same two components, and each of these guides has Angular examples.
Single and multi-column, local or remote.
F2By one or many fields, with lazy data too.
F3Generated columns, totals, custom headers.
F4Built-in and custom reducers, client or server.
F5Nested headers that resize and reorder together.
F6Load batches as you scroll, per group if needed.
F7Cells or rows, selection, shortcuts.
F8CSS variables, ready-made themes, three densities.
Inputs, two-way bound models and outputs, with signals.
Written in TypeScript, generic over your data type, strict templates.
Nothing but Angular.
The same grid, the same docs.
Feature by feature, with sources, and the things we don't do.
Install the package and follow the Angular guide: a grid on the page takes a DataSource, an InfiniteTable and your columns.
npm i @infinite-table/infinite-angularInfinite Table is licensed per front-end developer. The pricing page has the terms.