em-table

0.13.1 • Public • Published

Em-table

A simple table addon for Ember 1.13.11 and higher.

Supports - Sorting, Searching, Pagination & Cell-level loading.

For more info & examples please visit em-table wiki.

Installation

npm install --save em-table

Usage

  • Table can now be added into your template using em-table tag. For example {{em-table columns=columns rows=rows}}.
    • columns - Must be an Ember.Array of column definitions
    • Importing column definition - import ColumnDefinition from 'em-table/utils/column-definition';
    • rows - An Ember.Array of Ember.Object(s)
  • Checkout the demo app to see a sample implementation. Its under tests/dummy/app.

Prerequisites

  • node.js
  • ember v1.13.11 or above
  • ember-cli v1.13.11 or above

Running UTs

  • npm run test

Running demo app

Package Sidebar

Install

npm i em-table

Weekly Downloads

540

Version

0.13.1

License

MIT

Unpacked Size

133 kB

Total Files

69

Last publish

Collaborators

  • sreenaths