Directory

bwt-datatable - Vaadin Add-on Directory

Data table with Polymer 3 support! bwt-datatable - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/bluewatertracks/bwt-datatable](https://github.com//bluewatertracks/bwt-datatable/blob/3.0.1/README.md) on 2019-05-10 ]** [![Published on NPM](https://img.shields.io/npm/v/bwt-datatable.svg)](https://www.npmjs.com/package/bwt-datatable) [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/bluewatertracksbwt-datatable) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/bluewatertracks/bwt-datatable) # bwt-datatable ### News! New stable release 3.0.0 This package was updated to ES6 syntax and now support Polymer 3! The new version `3.0.0` works only with Polymer 3.0 or above. If you want to use it with Polymer 2.* please use previous version `2.2.0`. You can find new example how to use it in the file `example/your-datatable-implementation.js`. ### About We greatly appreciated the work of [David Mulder's paper-datatable](https://github.com/David-Mulder/paper-datatable) but since it hasn't been active for a while and we at Blue Water Tracks really wanted to keep pushing the work done so far, we decided to inherit the project and let it evolve but combining the pull requests on the project along with a couple of fixes and features that we came up with. Since many people already use the `paper-datatable` component, we created this component to make sure that it is compatible with the `paper-datatable` component. You can easily use this element only changing the path to `paper-datatable` import element like below. We hope that David takes what we have done with`bwt-datatable` and merges it into the original `paper-datatable`. ### Before ### Now If you already used selection toolbar in `paper-datatable-card` you need to add slot property to it like this:
- Original `paper-datatable` documentation and demos can be found [here](http://david-mulder.github.io/paper-datatable/components/paper-datatable/docs/docs.html?installation) - Our documentation and demos can be found [here](https://bluewatertracks.github.io/bwt-datatable/components/bwt-datatable/docs/docs.html?installation) [![datatable full implementation](http://david-mulder.github.io/paper-datatable/components/paper-datatable/docs/screenshot.png)](http://david-mulder.github.io/paper-datatable/components/paper-datatable/demo/paper-datatable-card/full-implementation.html) ## New changes - Column header update dynamically according to [paper-datatable pull request #78](https://github.com/David-Mulder/paper-datatable/pull/78) - Truly responsive; ability to use `bwt-datatable` on mobile devices by easily setting the `responseWidth` property to the desired breakpoint resolution.

bwt-datatable mobile view

- Table and/or column header can be fixed to the top of the page for better usability when you have very big amount of data in table. More info can be found [here](https://bluewatertracks.github.io/bwt-datatable/components/bwt-datatable/docs/docs.html?getting-started#fixed-header)

bwt-datatable fixed header

We also tried to add additional functionality and fix some of the bugs in paper-datatable and also merge the following pull requests for ``paper-datatable`` - Fix issue with null values inside paper-column [pull request #113](https://github.com/David-Mulder/paper-datatable/pull/113) - Change es6 to es5 code to support some of the older browsers [request #51](https://github.com/David-Mulder/paper-datatable/pull/51) and [request #106](https://github.com/David-Mulder/paper-datatable/pull/106) (Hopefully when Polymer 2 ships with transpiling, we can rewrite the code into proper ES6 code) - Use textContent instead of innerHTML inside elements [request #108](https://github.com/David-Mulder/paper-datatable/pull/108) ## Installation The element can be installed using bower using bower install --save bwt-datatable **Important:** If you wish to use `` you need the paper elements listed in `devDependencies` as well. They are not listed as normal dependencies to prevent them from being pulled in on production if you do not need them. ## Usage Check out the [getting started guide](https://bluewatertracks.github.io/bwt-datatable/components/bwt-datatable/docs/docs.html?getting-started). ## Contributors | | | | |----------|:-------------:|------:| | [![@bhargavkonkathi](https://avatars2.githubusercontent.com/u/24550636?v=3&u=ddd3f64f6888100d6eebd283768b61dabc6f495d&s=80)](https://github.com/bhargavkonkathi) | Programming is like playing chess; each line is as important as each step to determine what kind of player or programmer you are. When ever not playing chess, it's Javascript, Java and mongodb. | [![@maisnamraju](https://avatars2.githubusercontent.com/u/2786378?v=3&s=80)](https://github.com/maisnamraju) | Javascript Ninja; saving the world with one line of javascript at a time. ;) | [![@dhrytsenko](https://avatars0.githubusercontent.com/u/12988041?v=3&s=80)](https://github.com/dhrytsenko) | What is my opinion about JavaScript, NodeJS, MongoDB and Polymer? Building blocks to the future! Allowing me to help make the world a better place. ## Pull Requests are welcome If you feel that you have something that could improve the component, please feel free to send a PR or create an issue with an explaination. ## License This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 of the License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This project uses a fair share license construction, if you wish to use this project commercially you will likely want to continue reading [here](https://github.com/David-Mulder/fair-share-license/blob/master/CONTRIBUTING.md). If you wish to donate please contact me personally.
License
Issue tracker
GitHub Homepage
View on GitHub

bwt-datatable version 1.0.0
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12

bwt-datatable version 1.0.1
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8

bwt-datatable version 1.0.2
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8

bwt-datatable version 1.0.3
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8

bwt-datatable version 1.0.4
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8

bwt-datatable version 1.0.5
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8

bwt-datatable version 1.0.6
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#^1.0.0

bwt-datatable version 1.0.7
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#^1.0.0

bwt-datatable version 1.0.8
### Dependencies * polymer#Polymer/polymer#~1.2.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#^1.0.0

bwt-datatable version 1.0.9
### Dependencies * polymer#Polymer/polymer#~1.8.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#^1.0.0

bwt-datatable version 1.0.10
### Dependencies * polymer#Polymer/polymer#~1.8.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#^1.0.0

bwt-datatable version 1.0.11
### Dependencies * polymer#Polymer/polymer#~1.8.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#^1.0.0

bwt-datatable version 1.0.12
### Dependencies * polymer#Polymer/polymer#~1.8.0 * paper-material#PolymerElements/paper-material#~1.0.3 * paper-item#PolymerElements/paper-item#~1.0.5 * paper-icon-button#PolymerElements/paper-icon-button#~1.0.5 * paper-checkbox#PolymerElements/paper-checkbox#~1.0.13 * paper-tooltip#PolymerElements/paper-tooltip#~1.1.1 * paper-styles#PolymerElements/paper-styles#~1.0.12 * whenever.js#~0.0.1 * iron-form#PolymerElements/iron-form#~1.0.12 * iron-media-query#PolymerElements/iron-media-query#^1.0.8 * iron-scroll-target-behavior#PolymerElements/iron-scroll-target-behavior#^1.0.0 * paper-listbox#^2.0.0

bwt-datatable version 2.0.0
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.0.0-alpha
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.0.0-alpha.2
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.0.0-alpha.3
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.0.1
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.0.2
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.0.3
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.0.4
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.1.0
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 2.2.0
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 3.0.0
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1

bwt-datatable version 3.0.1
### Dependencies * polymer#Polymer/polymer#^2.0.0 * paper-material#^2.0.0 * paper-item#^2.0.0 * paper-icon-button#^2.0.1 * paper-checkbox#^2.0.1 * paper-tooltip#^2.0.1 * paper-styles#^2.0.0 * whenever.js#~0.0.1 * iron-form#^2.0.1 * iron-media-query#^2.0.0 * iron-scroll-target-behavior#^2.0.0 * paper-listbox#^2.0.0 * paper-dropdown-menu#^2.0.0 * paper-progress#^2.0.1