Ember-dyna-table
Ember-dyna-table is an Ember.js addon that includes a powerful component for creating frontends with complicated tables—i.e., involving filtering/sorting/pagination/etc. It aims to balance functionality and extensibility by providing these capabilities/features:
- a custom rendering component for table cells
- dynamic/rearrangeable/toggable columns
- the possibility to send actions from the cell component to upper components
- valid HTML
You can use this addon out of the box. For the most common use cases, Ember-dyna-table requires only minimal development effort. However, it's open to extension for anyone seeking more sophisticated features.
Installing
To add this addon into you application use this command:
ember install ember-dyna-table
See docs for more details
Development
Note: You must install Ember CLI to use this addon.
Then install this addon with just three commands:
-
git clone git@github.com:zalando-incubator/ember-dressy-table.git
this repository cd ember-dyna-table
npm install
Running
Simply follow these three steps:
ember serve
- Visit our dummy app at http://localhost:4200.
- Visit our tests page at http://localhost:4200/tests.
Running Tests
Again, three steps:
-
npm test
(Runsember try:each
to test your addon against multiple Ember versions) ember test
ember test --server
Building
ember build
More detailed information is available at the Ember CLI user guide.
License
Copyright 2017 Ember Community
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.