Infinite Table for Vue
A million rows, zero dependencies, fully declarative. Grouping, pivoting, aggregations, lazy loading and live updates, in one Vue component.
npm i @infinite-table/infinite-vueThe same data, the same machine, the same gestures, five runs each, with the Vue build of every grid. The benchmark is open: read the method, then run it yourself.
Nothing but Vue.
140 kB of gzipped JavaScript.
The 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 arrive in the default slot of the DataSource.
<DataSource
:data="trades"
primaryKey="id"
:groupBy="[{ field: 'sector' }]"
:pivotBy="[{ field: 'region' }]"
:aggregationReducers="{
pnl: {
field: 'pnl',
initialValue: 0,
reducer: (a, b) => a + b,
},
}"
>
<template #default="{ pivotColumns, pivotColumnGroups }">
<InfiniteTable
:pivotColumns="pivotColumns"
:pivotColumnGroups="pivotColumnGroups"
/>
</template>
</DataSource>No plugins to wire up and no modules to register. Every feature is a prop on the same two components, and each of these guides has Vue 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.
Every prop has a controlled and an uncontrolled form.
Written in TypeScript, generic over your data type.
Nothing but your framework.
The same grid, the same docs.
Feature by feature, with sources, and the things we don't do.
Install the package and follow the Vue guide: a grid on the page takes a DataSource, an InfiniteTable and your columns.
npm i @infinite-table/infinite-vueInfinite Table is licensed per front-end developer. The pricing page has the terms.