• Stars
    star
    2,750
  • Rank 16,561 (Top 0.4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance πŸ”‹

RevoGrid

Latest Version on NPM Software License Tree shaking Tree shaking

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

Material grid preview

RevoGrid material theme.

Key Features

  • Millions of cells viewport with a powerful core in-build by default;
  • Keyboard support with excel like focus;
  • Super light initial starter Min size. Can be imported with polifill or as module for modern browsers;
  • Intelligent Virtual DOM and smart rgRow recombination in order to achieve less redraws;
  • Sorting (multiple options, can be customized per column and advanced with events);
  • Filtering
    • Predefined system filters;
    • Preserve existing collection;
    • Custom filters (extend existing system filters with your own set);
  • Export to file;
  • Custom sizes per Column and Row;
  • Column resizing;
  • Autosize support (Column size based on content);
  • Pinned/Sticky/Freezed:
    • Columns (define left or right);
    • Rows (define top or bottom);
  • Grouping:
    • Column grouping (Nester headers);
    • Row grouping (Nested rows);
  • Cell editing;
  • Customizations:
    • Header template;
    • Cell template (build your own cell view);
    • Cell editor (apply your own editors and cell types);
    • Cell properties (build you own properties around rendered cells);
  • Column types;
    • Text/String (default);
    • Number;
    • Select;
    • Date;
    • Custom (take any type as template and create your own extended style);
  • Drag and drop rows;
  • Range operations:
    • Selection;
    • Edit;
  • Theme packages:
    • Excel like (default)
    • Material (compact, dark or light);
  • Copy/Paste (copy/paste from Excel, Google Sheets or any other sheet format);
  • Easy extenation and support with modern VNode features and tsx support;
  • Trimmed rows (hide rows on demand);
  • Plugin system (create your own plugins or extend existing one, it's transparent and easy);
  • Automated size calculation;
  • Hundred others small customizations and improvements RevoGrid.

Overview

Framework friendly

The RevoGrid component helps represent a huge amount of data in a form of data table "excel like" or as list. On top of it it provides inbuilt range edit or per cell edit, keyboard support and custom edit and render features. Works in any major framework or with no framework at all.

Chrome Firefox Safari Opera Edge
Latest βœ” Latest βœ” Latest βœ” Latest βœ” Latest βœ”

Installation

The library published as a scoped NPM package in the NPMJS Revolist account. Check for more info on our demo side.

With NPM:

npm i @revolist/revogrid --save;

With Yarn:

yarn add @revolist/revogrid;

Framework

Basic Usage

Grid works as web component. All you have to do just to place component on the page and access it properties as an element. We provide many ways to integrate our grid in your project:

Vanilla Js grid usage

const grid = document.querySelector('revo-grid');
const columns = [
  { prop: 'name', name: 'First column' },
  {
    prop: 'details',
    name: 'Second column',
    cellTemplate: (createElement, props) => {
      return createElement('div',
        {
          style: { backgroundColor: 'red' },
          class: { 'inner-cell': true },
        },
        props.model[props.prop] || '',
      );
    },
  },
];
const items = [{ name: 'New item', details: 'Item description' }];
grid.columns = columns;
grid.source = items;

Framework usage VueJs example

<template>
  <v-grid :source="rows" :columns="columns"/>
</template>

<script>
import VGrid from '@revolist/vue-datagrid';
export default {
  name: 'App',
  data() => ({
      columns: [
        { prop: 'name', name: 'First' },
        { prop: 'details', name: 'Second' },
      ],
      rows: [{ name: '1', details: 'Item 1' }],
    };
  }),
  components: { VGrid },
};
</script>

Versions

  • 2.0+ Introduced plugin system, grouping, sorting and filtering.
  • 3.0+ Breaking changes introduced version. New component loading and esm modules. Bootstrap support and much more.

Contributing

If you have any idea, feel free to open an issue to discuss a new feature, or fork RevoGrid and submit your changes back to me.

License

MIT


More Repositories

1

vue-datagrid

Spreadsheet data grid component. Handles enormous data processing.
TypeScript
206
star
2

vue3-datagrid

Powerful virtual data grid spreadsheet for Vue 3 with advanced customization. Best features from excel plus incredible performance πŸ”‹
TypeScript
132
star
3

svelte-datagrid

Svelte data grid spreadsheet best best features and performance from excel
TypeScript
104
star
4

revodropdown

Minimalistic dropdown and auto-complete component with filtering and keyboard support
JavaScript
24
star
5

angular-datagrid

Powerful virtual data grid smartsheet with advanced customization in Angular. Best features from excel plus incredible performance πŸ”‹
TypeScript
18
star
6

react-datagrid

Powerful virtual data grid for ReactJs with advanced customization. Best features from excel plus incredible performance πŸ”‹
TypeScript
13
star
7

revogrid-vuepress

Techdoc repo for revolist
JavaScript
6
star
8

revogrid-column-select

Custom column type for RevoGrid component based on revo-dropdown library.
TypeScript
6
star
9

revogrid.demo.js

Revogrid storybook demo with React, Vuejs, Typesctipt, Javascript and others
JavaScript
4
star
10

vue3-revolist-vite

Vue
3
star
11

revogrid-column-date

Custom date column type for RevoGrid.
TypeScript
3
star
12

revogrid-column-numeral

Numeral.js RevoGrid column type
TypeScript
3
star
13

revo-ui-avatar

Light user avatars generator based on name or image.
TypeScript
2
star
14

revolist.github.io

CSS
2
star
15

revogrid-number

Number column type for RevoGrid system
TypeScript
2
star
16

sample-data

Random 1k items
1
star
17

grid-svelte-sample

RevoGrid svelte rollup sample
JavaScript
1
star
18

revogrid-docs

This repository contains comprehensive guides, API references, and tutorials to help you effectively use and contribute to RevoGrid.
TypeScript
1
star
19

revogrid-stenciljs-start

TypeScript
1
star
20

angular-datagrid-test

Demo repository for angular-datagrid
TypeScript
1
star
21

grid-infinity-list-sample

Created with CodeSandbox
Vue
1
star