A fast, lightweight data grid component for handling millions of rows with virtual scrolling
View DemoVelocity Grid is a high-performance React data grid component designed to handle large datasets with ease. Built with TypeScript and optimized for speed, it provides a smooth user experience even when working with millions of rows through efficient virtual scrolling.
Render only visible rows and columns for optimal performance with large datasets.
Minimal dependencies and optimized bundle size for fast loading times.
Flexible API for styling, cell rendering, and data formatting.
Built-in functionality to export data as CSV, Excel, or PDF.
Powerful data manipulation capabilities for better user experience.
Full TypeScript support with comprehensive type definitions.
<div id="grid" style="height: 500px; width: 100%;"></div>
// Column definitions
const columnDefs = [
{ field: 'id', headerName: 'ID', width: 80 },
{ field: 'name', headerName: 'Name', width: 150 },
{ field: 'age', headerName: 'Age', width: 80 }
];
// Create the grid
const grid = React.createElement(
VelocityGrid.Grid,
{
data: yourData,
columnDefs: columnDefs,
rowHeight: 35,
defaultColWidth: 150
}
);
// Create a root and render the grid
const root = ReactDOM.createRoot(document.getElementById('grid'));
root.render(grid);