# canvas-datagrid
**Repository Path**: liuchen03/canvas-datagrid
## Basic Information
- **Project Name**: canvas-datagrid
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-04-23
- **Last Updated**: 2020-12-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
canvas-datagrid
---------------
[Demo](https://tonygermaneri.github.io/canvas-datagrid/tutorials/demo.html) - City of Chicago government employee list. Thanks to [data.gov](https://www.data.gov/).

[](https://coveralls.io/github/TonyGermaneri/canvas-datagrid?branch=master)
[](https://www.npmjs.com/package/canvas-datagrid)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://www.webcomponents.org/element/TonyGermaneri/canvas-datagrid)
* Works with Firefox, IE11, Edge, Safari and Chrome.
* Native support for touch devices (phones and tablets).
* Rich [documentation](https://tonygermaneri.github.io/canvas-datagrid/docs/), [tutorials](https://tonygermaneri.github.io/canvas-datagrid/docs/index.html#tutorials), and [slack support](https://canvas-datagrid.slack.com/).
* Single canvas element, drawn in immediate mode, data size does not impact performance.
* Support for unlimited rows and columns without paging or loading.
* Rich API of events, methods and properties using the familiar W3C DOM interface.
* Extensible styling, filtering, formatting, resizing, selecting, and ordering.
* Support for hierarchal drill in style row level inner grids as well grids in cells.
* Customizable hierarchal context menu.
* Built in and custom styles.
* W3C Web Component. Works in all frameworks.
* Per-user styles, column sizes, row sizes, view preferences and settings using localStorage.
* Very small file size, no dependencies.
[Documentation](https://tonygermaneri.github.io/canvas-datagrid/docs/)
[Tutorials](https://tonygermaneri.github.io/canvas-datagrid/docs/index.html#tutorials)
[Slack Support](https://canvas-datagrid.slack.com/) (message author for invite)
[Style Builder](https://tonygermaneri.github.io/canvas-datagrid/tutorials/styleBuilder.html)
[Download latest version (minified)](https://tonygermaneri.github.io/canvas-datagrid/dist/canvas-datagrid.js)
[Tests](https://tonygermaneri.github.io/canvas-datagrid/test/tests.html)
[Source Code](https://github.com/TonyGermaneri/canvas-datagrid)
[Latest Test Coverage](https://tonygermaneri.github.io/canvas-datagrid/build/report/lcov-report/index.html)
[Coveralls](https://coveralls.io/github/TonyGermaneri/canvas-datagrid)
Installation
------------
With [npm](https://www.npmjs.com/package/canvas-datagrid)
```console
npm install canvas-datagrid
```
Place the single source file `./dist/canvas-datagrid.js` in your web page using a script tag that points to the source or use webpack.
```html
```
Alternatively, instead of downloading and installing, you can link directly to an NPM CDN like [unpkg.com](https://unpkg.com).
```html
```
A function will be added to the global scope of the web page called `canvasDatagrid` as well as module loader definitions.
Getting started
---------------
Works [with webpack](https://tonygermaneri.github.io/canvas-datagrid/tutorials/amdDemo.html), [without webpack](https://tonygermaneri.github.io/canvas-datagrid/tutorials/demo.html) or as a [web component](https://tonygermaneri.github.io/canvas-datagrid/tutorials/webcomponentDemo.html).
No matter how you load it, `canvasDatagrid` is declared in the global scope.
Canvas-datagrid is a [Web Component](https://www.webcomponents.org/element/TonyGermaneri/canvas-datagrid) when
in a compatible browser, otherwise it is a `