https://github.com/revolist/revogrid
Powerful virtual data table smartsheet with advanced customization. Best features from excel plus incredible performance ๐
https://github.com/revolist/revogrid
angular angular-datagrid data-grid excel excel-grid export filter grid pivot react react-datagrid revo-grid sorting stenciljs svelte table vuegrid vuejs vuejs-components vuejs-grid
Last synced: 6 months ago
JSON representation
Powerful virtual data table smartsheet with advanced customization. Best features from excel plus incredible performance ๐
- Host: GitHub
- URL: https://github.com/revolist/revogrid
- Owner: revolist
- License: mit
- Created: 2020-05-04T21:23:09.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-08T18:45:40.000Z (6 months ago)
- Last Synced: 2025-05-08T19:43:18.231Z (6 months ago)
- Topics: angular, angular-datagrid, data-grid, excel, excel-grid, export, filter, grid, pivot, react, react-datagrid, revo-grid, sorting, stenciljs, svelte, table, vuegrid, vuejs, vuejs-components, vuejs-grid
- Language: TypeScript
- Homepage: https://rv-grid.com
- Size: 8.07 MB
- Stars: 2,911
- Watchers: 32
- Forks: 186
- Open Issues: 36
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- stars - revolist/revogrid
- best-of-react - GitHub - 52% open ยท โฑ๏ธ 16.04.2024): (Data Tables & Grids)
- best-of-react - GitHub - 52% open ยท โฑ๏ธ 16.04.2024): (Data Tables & Grids)
- awesome-react-components - revo-grid - [demo/docs](https://revolist.github.io/revogrid/) - Powerfull Data Grid for React / AngularJS / Vue / Web Components with advanced customization. (UI Components / Editable data grid / spreadsheet)
- awesome-react - revo-grid - Powerfull Data Grid for React / AngularJS / Vue / Web Components with advanced customization.  (UI Components / Editable data grid / spreadsheet)
- awesome-react-components - revo-grid - [demo/docs](https://revolist.github.io/revogrid/) - Powerfull Data Grid for React / AngularJS / Vue / Web Components with advanced customization. (UI Components / Editable data grid / spreadsheet)
- fucking-awesome-angular - revogrid - Powerful virtual data grid smartsheet with advanced customization. Best features from Excel plus incredible performance. (Third Party Components / Data Grids)
- best-of-react - GitHub - 52% open ยท โฑ๏ธ 16.04.2024): (Data Tables & Grids)
- awesome-angular - revogrid - Powerful virtual data grid smartsheet with advanced customization. Best features from Excel plus incredible performance. (Third Party Components / Data Grids)
- trackawesomelist - revogrid (โญ2.7k) - Powerful virtual data grid smartsheet with advanced customization. Best features from Excel plus incredible performance. (Recently Updated / [Sep 02, 2024](/content/2024/09/02/README.md))
- awesome-stencil - RevoGrid - Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance. (Components built with Stencil / Community)
- awesome-stencil - RevoGrid - Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance. (Components built with Stencil / Community)
- fucking-awesome-angular - revogrid - Powerful virtual data grid smartsheet with advanced customization. Best features from Excel plus incredible performance. (Table of contents / Third Party Components)
- awesome - revolist/revogrid - Powerful virtual data table smartsheet with advanced customization. Best features from excel plus incredible performance ๐ (TypeScript)
- awesome-react-components - revo-grid - [demo/docs](https://revolist.github.io/revogrid/) - Powerfull Data Grid for React / AngularJS / Vue / Web Components with advanced customization. (UI Components / Editable data grid / spreadsheet)
- awesome-react-components - revo-grid - [demo/docs](https://revolist.github.io/revogrid/) - Powerfull Data Grid for React / AngularJS / Vue / Web Components with advanced customization. (UI Components / Editable data grid / spreadsheet)
- fucking-awesome-react-components - revo-grid - ๐ [demo/docs](revolist.github.io/revogrid/) - Powerfull Data Grid for React / AngularJS / Vue / Web Components with advanced customization. (UI Components / Editable data grid / spreadsheet)
- awesome-stenciljs - RevoGrid - performance data grid supporting millions of rows and theming. (Ecosystem Highlights / Component Libraries & Widgets)
README
Powerful data grid component built with StencilJS.
Support Millions of cells and thousands of columns easy and efficiently for fast data rendering. Easy to use.
Demo and API โข
Key Features โข
How To Use โข
Installation โข
Docs โข
License
RevoGrid material theme.
## Key Features
- **High Performance**: Handles millions of cells in the viewport with a powerful core built by default.
- **[Accessibility](https://rv-grid.com/guide/wcag)**: Follows WAI-ARIA best practices.
- **[Keyboard Support](https://rv-grid.com/guide/defs#Keyboard)**:
- Excel-like focus for efficient navigation and editing.
- Seamless copy/paste from Excel, Google Sheets, or any other sheet format.
- **Lightweight**: Minimal initial bundle size . Can be imported with polyfills or as a module for modern browsers.
- **[Intelligent Virtual DOM](https://rv-grid.com/guide/overview#VNode-Reactive-DOM)**: Smart row recombination to minimize redraws.
- **[Virtual Scroll](https://rv-grid.com/guide/viewports)**: Handles large datasets with infinite scroll.
- **[Drag and Drop](https://rv-grid.com/guide/row/order)**: Drag and drop in [rows](https://rv-grid.com/guide/row/order) and [columns](https://rv-grid.com/guide/column/order).
- **[Sorting](https://rv-grid.com/guide/sorting)**: Multiple options, customizable per column, with advanced event handling.
- **[Filtering](https://rv-grid.com/guide/filters)**:
- Predefined system filters.
- Multi column filters.
- Conditional filters.
- Preserve existing collections.
- Selection.
- Slider.
- Header filtering.
- Custom filters to extend system filters with your own set.
- **[Export](https://rv-grid.com/guide/export.plugin)**: Export data to file.
- **Custom Sizes**: Define custom sizes for [columns](https://rv-grid.com/guide/column/#Column-Size) and [rows](https://rv-grid.com/guide/row/height). Automatic sizing based on content.
- **[Column Resizing](https://rv-grid.com/guide/column/resize)**: Adjust column widths.
- **Auto Size Columns**: Intelligent column width adjustment that automatically adapts to content, ensuring optimal readability and layout efficiency.
- **Pinned/Sticky/Freezed Elements**:
- [Columns](https://rv-grid.com/guide/column/pin) (define left or right).
- [Rows](https://rv-grid.com/guide/row/pin) (define top or bottom).
- **Grouping**:
- [Column grouping](https://rv-grid.com/guide/column/grouping) (nested headers).
- Column grouping Drill Down: Collapse grouping columns to streamline your grid view, trimming away unnecessary columns and enhancing data organization. Perfect for focusing on the information that matters most, while keeping your workspace clean and efficient.
- [Row grouping](https://rv-grid.com/guide/row/grouping) (nested rows).
- **Column Types**: [More details](https://rv-grid.com/guide/column/#Column-Formats)
- [Text/String](https://rv-grid.com/guide/column/types#String) (default).
- [Number](https://rv-grid.com/guide/column/types#Number).
- [Select/Dropdown](https://rv-grid.com/guide/column/types#Select-Dropdown).
- [Date](https://rv-grid.com/guide/column/types#Date).
- Custom (create extended styles using any template).
- **Range Operations**:
- [Selection](https://rv-grid.com/guide/defs#Range).
- [Editing](https://rv-grid.com/guide/defs#Range-Autofill).
- **[Theme Packages](https://rv-grid.com/guide/theme)**:
- Excel-like (default).
- Material (compact, dark, or light).
- **[Extensibility](https://rv-grid.com/guide/jsx.template)**: Modern VNode features and tsx support for easy extension.
- **[Trimmed Rows](https://rv-grid.com/guide/row/#Trimmed-Rows)**: Hide rows on demand.
- **[Plugin System](https://rv-grid.com/guide/plugin/)**: Create custom plugins or extend existing ones easily.
- **[Formula Support](https://rv-grid.com/guide/cell/formula)**: Evaluate formulas in cell data with Excel-like syntax, including basic arithmetic, statistical functions, and cell references.
- **[Pivot Table](https://rv-grid.com/demo/pivot)**: Transform and analyze data dynamically with drag-and-drop field arrangement, aggregation functions, and interactive filtering capabilities.
- **[Master Detail/Subtables/Forms](https://rv-grid.com/guide/row/master.pro)**: Expand rows to reveal child data.
- **[Cell/Column/Row Span/Merge](https://rv-grid.com/guide/cell/merge)**: Merge cells to form groups.
- **Auto Merge**: Automatically merges cells with identical values in a column.
- **Form editig**: Edit forms directly within the grid, featuring all necessary fields, including custom options and markdown support for a fast and enhanced data entry experience.
- **Customizations**:
- [Column header template](https://rv-grid.com/guide/column/header.template).
- [Row header template](https://rv-grid.com/guide/row/headers).
- [Cell properties](https://rv-grid.com/guide/cell/) (define custom properties for rendered cells).
- Nested grids: Build a grid inside a grid, showcasing advanced editing options and user interactions for a more dynamic data presentation.
- Context Menu: Build context menus for any grid element - from cells to headers. Cut, copy, paste, add rows, modify columns, and more. Fully customizable with your own actions and behaviors.
- [Cell template](https://rv-grid.com/guide/cell/renderer) (create your own cell views).
- [Cell editor](https://rv-grid.com/guide/cell/editor) (use predefined or apply your own custom editors and cell types).
- **Rich API & Additional Improvements**: Explore hundreds of other small customizations and improvements in [RevoGrid](https://rv-grid.com/).
Framework Friendly
I am RevoGrid, your solution for efficiently representing large datasets
in an "Excel-like" data table or as a list. Render native components inside each cell!
## Installation
The library published as a [scoped NPM package](https://docs.npmjs.com/misc/scope) in the [NPMJS Revolist account](https://www.npmjs.com/org/revolist).
[Check for more info on our demo side](https://rv-grid.com/guide/installation).
With NPM:
```bash
npm i @revolist/revogrid --save;
```
With Yarn:
```bash
yarn add @revolist/revogrid;
```
## Browser Support
|  |  |  |  |  |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| Latest โ | Latest โ | Latest โ | Latest โ | Latest โ |
|
## Framework
In `` we have developed a sophisticated Continuous Delivery (CD) system powered by GitHub Actions. This advanced system automatically builds and delivers grid versions across multiple frameworks, including React, Angular, Svelte, Vue 2, and Vue 3, with full type support. This ensures continuous version delivery, providing the latest grid enhancements and upgrades across all supported frameworks โจ. In the future (version 5), we are planning to switch to monorepo based development.
- [ Vue 3](https://rv-grid.com/guide/vue3/) and [Vue 2](https://rv-grid.com/guide/vue2/)
- [ React](https://rv-grid.com/guide/react/)
- [ Angular](https://rv-grid.com/guide/angular/)
- [ Svelte](https://rv-grid.com/guide/svelte/)
- [ JavaScript](https://rv-grid.com/guide/)
## Basic Usage
RevoGrid functions as a web component. Simply place the component on your page and access its properties as you would with any other HTML element. It also offers multiple ways to integrate our grid into your project:
- [Import the grid into your project](https://rv-grid.com/guide/installation)
### JavaScript Data Grid Simple Usage
```javascript
// Select the RevoGrid element from the DOM
const grid = document.querySelector('revo-grid');
// Define the columns for the grid
grid.columns = [{ prop: 'name', name: 'First Column' }, { prop: 'details' }];
// Define the data source for the grid
grid.source = [{ name: 'New Item', details: 'Item Description' }];
```
### Custom cell template
```javascript
// Select the RevoGrid element from the DOM
const grid = document.querySelector('revo-grid');
// Define the columns for the grid
grid.columns = [
{
prop: 'name',
name: 'Custom cell template',
// Custom cell template
cellTemplate(h, { value }) {
return h(
'div',
{
style: { backgroundColor: 'red' }, // Styling the cell background
class: { 'inner-cell': true }, // Adding a CSS class
},
value || '' // Display the cell content or an empty string if undefined
);
},
},
];
// Define the data source for the grid
grid.source = [{ name: 'New Item' }];
```
[Example and guide](https://rv-grid.com/guide/)
- [ Vue 3](https://rv-grid.com/guide/vue3/) and [Vue 2](https://rv-grid.com/guide/vue2/)
- [ React](https://rv-grid.com/guide/react/)
- [ Angular](https://rv-grid.com/guide/angular/)
- [ Svelte](https://rv-grid.com/guide/svelte/)
- [ JavaScript](https://rv-grid.com/guide/)
## Versions
- **2.0+**: Introduced the plugin system, grouping, sorting, and filtering.
- **3.0+**: Breaking changes introduced:
- Removed the redundant viewport component.
- Renamed classes to support Bootstrap and other libraries:
- `row` -> `rgRow`
- `col` -> `rgCol`
- `data-cell` -> `rgCell`
- `data-header-cell` -> `rgHeaderCell`
- Migrated all method names to lowercase to align with modern event naming conventions. For example, `afterEdit` is now `afteredit`. Check the API for details.
- Added support for pure ESM modules to enable the use of the grid in all modern frontend tooling like Vite, Parcel, etc. You can now import custom elements without lazy loading. Note that you are responsible for polyfills.
- **4.0+**: Breaking changes introduced. See the [migration guide](https://rv-grid.com/guide/migration).
- Redesigned type support:
- Removed deprecated namespaces:
- **Before**: `RevoGrid.ColumnRegular`
- **Now**: `ColumnRegular`;
- Improved type import:
- **Before**: `import { RevoGrid } from '@revolist/revogrid/dist/types/interfaces'`
- **Now**: `import { ColumnRegular } from '@revolist/revogrid'`.
- Changed viewport type names everywhere. For example, before: `rowDefinitions: [{ type: "row", index: 0, size: 145 }]`, after: `rowDefinitions: [{ type: "rgRow", index: 0, size: 145 }]`.
- Updated [event](https://rv-grid.com/guide/api/revoGrid.html#Events) naming convention. Review your [event](https://rv-grid.com/guide/api/revoGrid.html#Events) usage. [Event names](https://rv-grid.com/guide/api/revoGrid.html#Events) are all lowercase now and are aligned with modern event naming conventions. For example, `afterEdit` -> `afteredit`.
- Multiple event breaking changes introduced: beforerowrender now returns `BeforeRowRenderEvent`. Check all events for details.
- **Major improvements**:
- Rethought the entire framework approach. Introduced Pro version with advance support and pro features.
- Introduced slot support.
- Updated scrolling system for better mobile support.
- Advance template support. Introduced `additionalData` for templates and editors. `Prop` gives access to parent/root app context.
- Redesigned the documentation.
- Fixed major issues and significantly improved overall performance, making the grid multiple time faster.
- Enhanced plugin support - now with full access to grid providers.
- Updated documentation.
- Provided full framework support and native render for Angular, React, Svelte and Vue.
- **What next?**
- Check our [Roadmap](https://github.com/users/revolist/projects/3)
## Our Sponsors
We would like to extend our heartfelt gratitude to our sponsors for their generous support. Their contributions help us maintain and develop RevoGrid.
[](https://altruistiq.com)
### Become a Sponsor
If you or your company would like to support the ongoing development of RevoGrid, please consider [](https://opencollective.com/revogrid) or use a [Pro version](https://rv-grid.com/pro/). Your support will help us continue to improve the project and provide the best possible tool for the community.
Thank you for supporting RevoGrid! ๐
## Contributing
By getting involved, you'll have the opportunity to enhance your skills, gain valuable experience, and make a significant impact on an innovative project. Your contribution, no matter how big or small, is valuable.
### Why Contribute?
- **Expand Your Knowledge**: Working on complex libraries allows you to dive deep into modern web technologies, improve your coding skills, and learn best practices in performance optimization, data handling, and component-based architecture.
- **Experience**: Contributing to an open-source project like provides you with practical experience that can be a great addition to your portfolio. It demonstrates your ability to work collaboratively, solve complex problems, and contribute to a project's success.
- **Professional Growth**: By contributing, you become part of a network of talented developers. This can lead to mentorship opportunities, collaborations, and professional connections that can benefit your career.
## License
MIT
---