All Projects → vaadin → Vaadin Grid

vaadin / Vaadin Grid

Licence: apache-2.0
vaadin-grid is a free, high quality data grid / data table Web Component. Part of the Vaadin components.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vaadin Grid

vaadin-text-field
The themable Web Component providing input controls. Part of the Vaadin components.
Stars: ✭ 29 (-92.43%)
Mutual labels:  web-component, webcomponents, custom-elements, vaadin
Vaadin Combo Box
The Web Component for displaying a list of items with filtering. Part of the Vaadin components.
Stars: ✭ 113 (-70.5%)
Mutual labels:  webcomponents, custom-elements, web-component, vaadin
vaadin-split-layout
The Web Component which allows you to partition a layout into resizeable areas. Part of the Vaadin components.
Stars: ✭ 40 (-89.56%)
Mutual labels:  web-component, webcomponents, vaadin
cwco
Powerful and Fast Web Component Library with a Simple API
Stars: ✭ 27 (-92.95%)
Mutual labels:  web-component, webcomponents, custom-elements
Vaadin Form Layout
The Web Component providing configurable responsive layout for form elements. Part of the Vaadin components.
Stars: ✭ 15 (-96.08%)
Mutual labels:  webcomponents, web-component, vaadin
Vaadin Upload
The Web Component for uploading multiple files with progress indication. Part of the Vaadin components.
Stars: ✭ 87 (-77.28%)
Mutual labels:  webcomponents, web-component, vaadin
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (-15.93%)
Mutual labels:  webcomponents, custom-elements, vaadin
vaadin-icons
Vaadin Icons is a collection of 600+ unique icons designed for web applications
Stars: ✭ 59 (-84.6%)
Mutual labels:  web-component, webcomponents, vaadin
Calcite Components
Web Components for the Calcite Design System. Built with Stencil JS. Currently in Beta!
Stars: ✭ 96 (-74.93%)
Mutual labels:  webcomponents, custom-elements, web-component
Vaadin Date Picker
The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.
Stars: ✭ 158 (-58.75%)
Mutual labels:  webcomponents, web-component, vaadin
vaadin-dialog
High quality web component for modal dialogs. Part of the Vaadin platform.
Stars: ✭ 15 (-96.08%)
Mutual labels:  web-component, webcomponents, vaadin
domy
Custom Elements Storage
Stars: ✭ 77 (-79.9%)
Mutual labels:  webcomponents, custom-elements
vite-plugin-sloth
Fresh take on static site generation, using HTML-first approach to build website. Powered by ⚡️ Vite
Stars: ✭ 39 (-89.82%)
Mutual labels:  webcomponents, custom-elements
vaadin-checkbox
The Web Component for customized checkboxes. Part of the Vaadin components.
Stars: ✭ 18 (-95.3%)
Mutual labels:  webcomponents, vaadin
custom-elements-manifest
Custom Elements Manifest is a file format that describes custom elements in your project.
Stars: ✭ 81 (-78.85%)
Mutual labels:  webcomponents, custom-elements
highcharts-webcomponent
Highcharts Web Component usable with any Framework
Stars: ✭ 21 (-94.52%)
Mutual labels:  webcomponents, custom-elements
Snuggsi
snuggsi ツ - Easy Custom Elements in ~1kB
Stars: ✭ 288 (-24.8%)
Mutual labels:  webcomponents, custom-elements
vaadin-context-menu
The responsive Web Component for showing context dependent items for any element on the page. Part of the Vaadin components.
Stars: ✭ 26 (-93.21%)
Mutual labels:  webcomponents, vaadin
base-starter-angular
Base Starter for Vaadin components with Angular
Stars: ✭ 13 (-96.61%)
Mutual labels:  webcomponents, vaadin
react-grid
🚀 Simple React.js grid component
Stars: ✭ 15 (-96.08%)
Mutual labels:  data-grid, data-table

npm version Published on webcomponents.org Build Status Gitter

Published on Vaadin  Directory Stars on vaadin.com/directory

<vaadin-grid>

Live Demo ↗ | API documentation ↗

<vaadin-grid> is a free, high quality data grid / data table Web Component, part of the Vaadin components.

  <vaadin-grid theme="row-dividers" column-reordering-allowed multi-sort>
    <vaadin-grid-selection-column auto-select frozen></vaadin-grid-selection-column>
    <vaadin-grid-sort-column width="9em" path="firstName"></vaadin-grid-sort-column>
    <vaadin-grid-sort-column width="9em" path="lastName"></vaadin-grid-sort-column>
    <vaadin-grid-column id="addresscolumn" width="15em" flex-grow="2" header="Address"></vaadin-grid-column>
  </vaadin-grid>

  <script>
    // Customize the "Address" column's renderer
    document.querySelector('#addresscolumn').renderer = (root, grid, model) => {
      root.textContent = `${model.item.address.street}, ${model.item.address.city}`;
    };

    // Populate the grid with data
    const grid = document.querySelector('vaadin-grid');
    fetch('https://demo.vaadin.com/demo-data/1.0/people?count=200')
      .then(res => res.json())
      .then(json => grid.items = json.result);
  </script>

Screenshot of vaadin-grid, using the default Lumo theme

Installation

Install vaadin-grid:

npm i @vaadin/vaadin-grid --save

Once installed, import it in your application:

import '@vaadin/vaadin-grid/vaadin-grid.js';

Getting started

Vaadin components use the Lumo theme by default.

To use the Material theme, import the correspondent file from the theme/material folder.

Entry points

  • The component with the Lumo theme:

    theme/lumo/vaadin-grid.js

  • The component with the Material theme:

    theme/material/vaadin-grid.js

  • Alias for theme/lumo/vaadin-grid.js:

    vaadin-grid.js

Running demos and tests in a browser

  1. Fork the vaadin-grid repository and clone it locally.

  2. Make sure you have node.js 12.x installed.

  3. Make sure you have npm installed.

  4. When in the vaadin-grid directory, run npm install to install dependencies.

  5. Run npm start, browser will automatically open the component API documentation.

  6. You can also open visual tests, for example:

Running tests from the command line

  1. When in the vaadin-upload directory, run npm test

Running tests from the command line

  1. When in the vaadin-grid directory, run polymer test

Debugging tests in the browser

  1. Run npm run debug, then choose manual mode (M) and open the link in browser.

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint, which will automatically lint all .js files.

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.

Contributing

To contribute to the component, please read the guideline first.

License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].