Simple table with sorting and filtering on AngularJS
TypeScript JavaScript HTML CSS
Latest commit b6d5d0b Jan 6, 2017 @christianacca christianacca committed on GitHub docs(guidelines): add missing step
Permalink
Failed to load latest commit information.
.vscode feat(ngTableSettings): nested options never undefined Dec 21, 2016
demo-apps refactor(typescript): drop prefix from interface Dec 21, 2016
demo-site docs(demo-site): intro to mention webpack Oct 9, 2016
e2e test(e2e): add async/await example Oct 20, 2016
examples-old chore(package): switch to publishing webpack bundle and compiled JS Sep 26, 2016
scripts feat(ngTableSettings): nested options never undefined Dec 21, 2016
src refactor(typescript): support strict null checking Dec 22, 2016
test refactor(typescript): support strict null checking Dec 22, 2016
.editorconfig add .editorconfig Dec 6, 2013
.gitignore feat(ngTableSettings): nested options never undefined Dec 21, 2016
.npmignore chore(build): abandon use of linklocal Sep 26, 2016
.travis.yml chore(ci): use node 6.9.1 for travis-ci build Nov 24, 2016
CONTRIBUTING.md docs(guidelines): clarifications Dec 31, 2016
LICENSE Fixed #4 May 31, 2013
README.md doc(readme): clarification of dist-tags Jan 6, 2017
RELEASING.md docs(guidelines): add missing step Jan 6, 2017
circle.yml chore(ci): remove redundant pre-install step Oct 3, 2016
index.ts refactor(ng-table): simplify module exports Dec 6, 2016
jsconfig.json chore(package): switch to publishing webpack bundle and compiled JS Sep 26, 2016
karma.conf.js feat(ngTableSettings): nested options never undefined Dec 21, 2016
npm-shrinkwrap.json feat(ngTableSettings): nested options never undefined Dec 21, 2016
package.json chore(npm): publish to `next` channel by default Dec 31, 2016
tsconfig-webpack.json refactor(typescript): support strict null checking Dec 22, 2016
tsconfig.json refactor(typescript): support strict null checking Dec 22, 2016
typedoc.json chore(build): update typedoc to latest version Oct 15, 2016
webpack.config.js chore(package): switch to publishing webpack bundle and compiled JS Sep 26, 2016

README.md

Table + AngularJS

Build Status Coverage Status semantic-release

Code licensed under New BSD License.

This directive enhances your HTML tables. It support sorting, filtering and pagination. Header row with titles and filters automatic generated.

Installing

NPM

Install the current stable release:

npm install ng-table --save

Or install the latest beta release:

npm install ng-table@next --save

note: when to use next? see this issue-comment

CDN

You can download the distribution files directly from unpkg

Bower: NO LONGER SUPPORTED

Getting started

Please follow the getting started steps here

Examples

Using Typescript?

As of v2.0.0 ngTable is written in typescript and so you do NOT have to install external type declarations for this library.

By installing the ng-table package from npm, you will get typescript intellisense for all ng-table exported types.

WARNING:. The type definitions on DefinitelyTyped are depreciated.

Upgrading from an earlier version?

Upgrade from 0.8.3

It's recommended to upgrade in two jumps:

  1. Upgrade to version 1.0.0-beta.9, making any changes to your application code neccessary to work with this version
    • EG: bower install ng-table#1.0.0-beta.9 --save
  2. Refactor your application to remove any code that depended on depreciated behaviours that where removed in the 1.0.0 release
  3. Install 1.0.0 (should now be a drop in replacement for 1.0.0-beta.9)
    • Bower: bower install ng-table#1.0.0 --save
    • NPM: npm i ng-table@1.0.0 --save

Upgrade from version earlier than 0.8.3

It's recommended to upgrade in three jumps:

  1. Upgrade to version 0.8.3, making any changes to your application code neccessary to work with this version
    • EG: bower install ng-table#0.8.3 --save
  2. Follow the guide above to upgrade from 0.8.3 -> 1.0.0-beta.9 -> 1.0.0

Tips

  • Read the notes in github releases. Each release details the breaking changes and migration guidance

Compatibility

For work in IE < 9 need jQuery, just add:

<!--[if lt IE 9]>
  <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<![endif]-->

Building from sources

  1. Clone: git clone https://github.com/esvit/ng-table.git
  2. Install: npm install
  3. Build: npm run build:full

  • To locally build and serve docs site: npm run doc && npm run serve:docs-site
  • To locally serve the demo: npm run serve:demo

Want to contribute?

See the contributing guidelines.


This project is part of Bazalt CMS.