{"id":14990326,"url":"https://github.com/bluewatertracks/bwt-datatable","last_synced_at":"2025-04-12T02:11:48.651Z","repository":{"id":57192011,"uuid":"79534735","full_name":"bluewatertracks/bwt-datatable","owner":"bluewatertracks","description":"Data table with Polymer 3 support!","archived":false,"fork":false,"pushed_at":"2019-10-29T03:24:26.000Z","size":3499,"stargazers_count":42,"open_issues_count":9,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-12T02:11:42.755Z","etag":null,"topics":["bwt-datatable","datatable","paper-datatable","polymer","polymer-3","table","web-component"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bluewatertracks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-20T07:04:39.000Z","updated_at":"2022-12-21T00:15:06.000Z","dependencies_parsed_at":"2022-09-01T05:54:13.547Z","dependency_job_id":null,"html_url":"https://github.com/bluewatertracks/bwt-datatable","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluewatertracks%2Fbwt-datatable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluewatertracks%2Fbwt-datatable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluewatertracks%2Fbwt-datatable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluewatertracks%2Fbwt-datatable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluewatertracks","download_url":"https://codeload.github.com/bluewatertracks/bwt-datatable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505928,"owners_count":21115354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bwt-datatable","datatable","paper-datatable","polymer","polymer-3","table","web-component"],"created_at":"2024-09-24T14:19:53.867Z","updated_at":"2025-04-12T02:11:48.631Z","avatar_url":"https://github.com/bluewatertracks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on NPM](https://img.shields.io/npm/v/bwt-datatable.svg)](https://www.npmjs.com/package/bwt-datatable)\n[![Published on Vaadin  Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/bluewatertracksbwt-datatable)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/bluewatertracks/bwt-datatable)\n\n# bwt-datatable\n\n### News! New stable release 3.0.0\nThis package was updated to ES6 syntax and now support Polymer 3!\n\nThe 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`.\n\nYou can find new example how to use it in the file `example/your-datatable-implementation.js`.\n\n### About\nWe 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. \nWe hope that David takes what we have done with`bwt-datatable` and merges it into the original `paper-datatable`. \n\n### Before\n\t\u003clink rel=\"import\" href=\"/bower_components/paper-datatable/paper-datatable.html\"\u003e\n\n### Now\n\t\u003clink rel=\"import\" href=\"/bower_components/bwt-datatable/bwt-datatable.html\"\u003e\n\nIf you already used selection toolbar in `paper-datatable-card` you need to add slot property to it like this: \n\n    \u003cdiv slot=\"toolbar-select-single\"\u003e\n      \u003cpaper-icon-button icon=\"info\" on-tap=\"info\"\u003e\u003c/paper-icon-button\u003e\n    \u003c/div\u003e\n    \u003cdiv slot=\"toolbar-select\"\u003e\n      \u003cpaper-icon-button icon=\"delete\" on-tap=\"delete\"\u003e\u003c/paper-icon-button\u003e\n    \u003c/div\u003e\n\n - Original `paper-datatable` documentation and demos can be found [here](http://david-mulder.github.io/paper-datatable/components/paper-datatable/docs/docs.html?installation)\n - Our documentation and demos can be found [here](https://bluewatertracks.github.io/bwt-datatable/components/bwt-datatable/docs/docs.html?installation)\n\n\n[![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)\n\n## New changes\n\n - Column header update dynamically according to [paper-datatable pull request #78](https://github.com/David-Mulder/paper-datatable/pull/78)\n - Truly responsive; ability to use `bwt-datatable` on mobile devices by easily setting the  `responseWidth` property to the desired breakpoint resolution.\n\n \t\t\u003cpaper-datatable data=\"{{data}}\" selectable multi-selection response-width=\"767px\"\u003e\n\t\t\t\u003cpaper-datatable-column header=\"Title\" property=\"title\" sortable editable\u003e\n\t\t\t\u003c/paper-datatable-column\u003e\n\t\t\u003c/paper-datatable\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/bluewatertracks/bwt-datatable/blob/master/images/bwt-datatable-mobile.png\" alt=\"bwt-datatable mobile view\"/\u003e\n\u003c/p\u003e\n\n- 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)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/bluewatertracks/bwt-datatable/blob/master/images/header-fixed.gif\" alt=\"bwt-datatable fixed header\"/\u003e\n\u003c/p\u003e\n\nWe 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``\n- Fix issue with null values inside paper-column [pull request #113](https://github.com/David-Mulder/paper-datatable/pull/113)\n- 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)\n (Hopefully when Polymer 2 ships with transpiling, we can rewrite the code into proper ES6 code)\n- Use textContent instead of innerHTML inside elements [request #108](https://github.com/David-Mulder/paper-datatable/pull/108)\n\n## Installation\n\nThe element can be installed using bower using\n\n    bower install --save bwt-datatable\n\n**Important:** If you wish to use `\u003cbwt-datatable-card\u003e` 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.\n\n## Usage\n\nCheck out the [getting started guide](https://bluewatertracks.github.io/bwt-datatable/components/bwt-datatable/docs/docs.html?getting-started).\n\n## Contributors\n\n| | | |\n|----------|:-------------:|------:|\n| [![@bhargavkonkathi](https://avatars2.githubusercontent.com/u/24550636?v=3\u0026u=ddd3f64f6888100d6eebd283768b61dabc6f495d\u0026s=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.\n| [![@maisnamraju](https://avatars2.githubusercontent.com/u/2786378?v=3\u0026s=80)](https://github.com/maisnamraju) |  Javascript Ninja; saving the world with one line of javascript at a time. ;) \n| [![@dhrytsenko](https://avatars0.githubusercontent.com/u/12988041?v=3\u0026s=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.\n\n\n\n## Pull Requests are welcome\n\nIf 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.\n\n## License\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License version 3 of the License as published by\nthe Free Software Foundation.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nThis project uses a fair share license construction, if you wish to use this project commercially you will likely want to\ncontinue reading [here](https://github.com/David-Mulder/fair-share-license/blob/master/CONTRIBUTING.md). If you wish to\ndonate please contact me personally.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluewatertracks%2Fbwt-datatable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluewatertracks%2Fbwt-datatable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluewatertracks%2Fbwt-datatable/lists"}