vaadin-grid
is a Web Component for showing large amounts of tabular data, part of the vaadin-components component bundle.
Features:
- Lazy-loading
- Virtual scrolling
- Frozen/fixed columns
- Customizable headers and footers
- Custom cell renderers
- Touch support
- Keyboard navigation
- Sorting
- Accessibility
- Declarative and imperative APIs
-
demo: A set of examples using the component
-
test: Unit and visual tests
-
java: The internal GWT implementation of the component exported to JavaScript which is used by the Polymer-based implementation.
First, make sure you've installed all the necessary tooling:
If you encounter permission issues when running
npm
see thread in StackOverFlow.com
Then do the following:
- Install bower, gulp, web-component-tester and polyserve globally:
$ npm install -g bower gulp web-component-tester polyserve
Note: you might need to prepend
sudo
if you are in a unix like system (linux, mac)
- Clone the project:
$ git clone https://github.com/vaadin/vaadin-grid.git
$ cd vaadin-grid
- Install the project dependencies:
$ npm install
Start a server in the root folder, and access one of the demo files inside the component folders, e.g:
$ polyserve
- Run all tests locally:
$ gulp test
- Run a single browser locally:
$ wct --local=chrome/firefox/safari
- Run and debug tests manually:
$ polyserve
- Compiling GWT module:
Compiled module is in the repository, so you don't need to compile it unless you modify GWT .java files.
$ gulp gwt
- Compiling GWT using "pretty" output:
$ gulp gwt --gwt-pretty
- Running and debugging in GWT SuperDevMode:
$ gulp gwt:sdm
- Update your dependencies once in a while:
$ npm install
vaadin-grid
is licensed under the Apache License 2.0.