Simple table with sorting and filtering on AngularJS
JavaScript TypeScript HTML CSS
Latest commit fa748ac Aug 13, 2016 @christianacca christianacca committed on GitHub docs(readme): add bower deprecation notice
Permalink
Failed to load latest commit information.
.vscode chore(build): exclude compiled js Jun 16, 2016
demo-site docs(overview): fix url to cdn.rawgit.com Jul 29, 2016
dist chore(release): 1.0.0 distribution files Jun 17, 2016
examples-old docs(old-examples): using examples a temporary scratch pad Oct 3, 2015
src refactor(ng-table.js): reorganise into submodules Jul 31, 2016
test tests(specs): update tests to reflect latest type definitions Jun 21, 2016
webpack refactor(ng-table.js): reorganise into submodules Jul 31, 2016
.bowerrc (feat): removed jQuery dependency. Compatibility IE9+. Oct 16, 2013
.editorconfig add .editorconfig Dec 6, 2013
.gitignore feat(ng-table.js): support the CommonJS module format Jul 31, 2016
.jshintrc new api of ngTableParams Sep 28, 2013
.npmignore chore(npm): make angular a peer dependency; trim content of package Jun 14, 2016
.travis.yml feat(ng-table.js): support the CommonJS module format Jul 31, 2016
CHANGELOG.md chore(release): 1.0.0 distribution files Jun 17, 2016
CONTRIBUTING.md docs(guides): update to use new build script Jul 31, 2016
DeleteNodeModules.bat chore(release): 1.0.0-alpha.5 distribution files Aug 16, 2015
LICENSE Fixed #4 May 31, 2013
README.md docs(readme): add bower deprecation notice Aug 13, 2016
RELEASING.md docs(guides): update to use new build script Jul 31, 2016
bower.json chore(release): 1.0.0 distribution files Jun 17, 2016
changelog.js chore(build): add convention changelog generator Feb 28, 2015
circle.yml feat(ng-table.js): support the CommonJS module format Jul 31, 2016
index.js refactor(ng-table.js): reorganise into submodules Jul 31, 2016
jsconfig.json chore(build): add jsconfig Jul 30, 2016
karma.conf.js chore(tests): additional code coverage output Jul 31, 2016
package.json chore(build): update dev dependencies Jul 31, 2016
tsconfig.json tests(specs): make tsc happy with new 'noImplicitReturns' setting Jun 16, 2016
typings.json tests(specs): update tests to reflect latest type definitions Jun 21, 2016
webpack.config.js chore(build): add banner text to bundles (not working) Jul 31, 2016

README.md

Table + AngularJS

Build Status Coverage Status

Code licensed under New BSD License.

This directive allow to liven your tables. It support sorting, filtering and pagination. Header row with titles and filters automatic generated on compilation step.

Bower package deprecation notice

Updates to this library will be no longer published to bower.

Updates to this library will be published to npm only.

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
  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)

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

  • To install an earlier version of ng-table (1.0.0-beta.9 in this case): bower install ng-table#1.0.0-beta.9 --save
  • Read the CHANGELOG.md. Each release details the breaking changes and migration guidance

Installing

NPM

npm install ng-table --save

CDN

You can download the distribution files directly from npmcdn

Getting started

Please follow the getting started steps here

Using Typescript?

Install the type definition files for ng-table:

typings install github:christianacca/typed-ng-table/typings.json#930b5a14174e594d6167691ed0938be42a6b06aa --global --save

WARNING:. The type definitions on DefinitelyTyped and @types/ng-table are depreciated.

Development

We use Karma to ensure the quality of the code. The easiest way to run these checks is to use npm test:

npm install && npm run setup
npm run build
npm test

The karma task will try to open Firefox and Chrome as browser in which to run the tests. Make sure this is available or change the configuration in karma.conf.js

Configuring ng-table

For a list of configuration options available, see examples website

Updates

See CHANGELOG.md

Submitting an issue

Please be responsible, the open source community is not there to guess your problem or to do your job. When submitting an issue try as much as possible to:

  1. search in the already existing issues or on stackoverflow if your issue has not been raised before.

  2. give a precise description mentionning angular version, ng-table version.

  3. give a way to reproduce your issue, the best would be with a running example, you can use plunkr, or codepen. Tip: See below for a list of base codepen's you can fork

  4. isolate your code sample on the probable issue to avoid pollution and noise.

  5. Close your issue when a solution has been found (and share it with the community)

Note that 80% of the open issues are actually not issues but "problem" due to developpers laziness or lack of investigation. These "issues" are a waste of time for us and especially if we have to setup a sample to reproduce the issue which those developpers could have done. Any open issue which does not fulfill this contract will be closed without investigation.

Examples

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]-->

Plugins

PS

Let me know if you are using ng-table. It will motivate me to work harder. And if you like ng-table, just email me and add your website here Hope you like it, Thanks! :)


This project is part of Bazalt CMS.