# ember-cli-simple-table

> Simple data table to try

Latest version **0.0.6** (published 2017-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-cli-simple-table
pnpm add ember-cli-simple-table
yarn add ember-cli-simple-table
bun add ember-cli-simple-table
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2017-03-15 |
| First published | 2017-03-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.12.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | chauhan.sudhir79@yahoo.com |
| Maintainers | chauhans |
| Keywords | ember-addon |

## Links

- npm: https://www.npmjs.com/package/ember-cli-simple-table
- Repository: https://github.com/chauhansudhir/ember-cli-simple-table
- Homepage: https://chauhansudhir.github.io/ember-cli-simple-table/
- Issues: https://github.com/chauhansudhir/ember-cli-simple-table/issues
- npm.io page: https://npm.io/package/ember-cli-simple-table

## Dependencies (2)

- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^5.1.7
- [ember-cli-htmlbars](https://npm.io/package/ember-cli-htmlbars.md) 1.1.1

## Recent versions

- 0.0.6 (latest) — 2017-03-15
- 0.0.5 — 2017-03-13
- 0.0.4 — 2017-03-13
- 0.0.3 — 2017-03-13
- 0.0.2 — 2017-03-13
- 0.0.1 — 2017-03-10

## README

# ember-cli-table

Check test/dummy app dashboard route
```
import Table from 'ember-cli-simple-table';

myroute.js

columns: [
  {valuePath: '_id', title: 'ID', sortable: false},
  {valuePath: 'balance', title: 'Balance', sortable: true, dir: 'desc'},
  {valuePath: 'first', title: 'Name', sortable: true},
  {valuePath: 'company', title: 'Company', sortable: true},
  {valuePath: 'address', title: 'Address'}
]
setupController(controller, model) {
  let table = new Table(this.get('columns'));
  controller.set('table', table);
  controller.set('tableData', this.get('tableData'));
  this._super(...arguments);
}
model() {
  let tempObj = {
    "_id": "58c0f59a9bf8c3a25dd0fa61",
    "balance": "$2,801.46",
    "age": 32,
    "eyeColor": "blue",
    "first": "Adrian",
    "last": "Mccullough",
    "company": "BALOOBA",
    "phone": "+1 (996) 411-2327",
    "address": "712 Central Avenue, Yukon, Kansas, 228"
  };
  let data = Ember.A([]);

  for(let i = 0; i < 100; i++) {
    data.addObject(Ember.copy(tempObj));
  }
  return data;
}

# application template
{{cli-table table=table rows=tableData}}
```
This README outlines the details of collaborating on this Ember addon.

## Installation

* `git clone <repository-url>` this repository
* `cd ember-cli-table`
* `npm install`
* `bower install`

## Running

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).

## Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

## Building

* `ember build`

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

---
_Source: https://npm.io/package/ember-cli-simple-table · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
