• Stars
    star
    2,771
  • Rank 16,436 (Top 0.4 %)
  • Language
    TypeScript
  • License
    BSD 3-Clause "New...
  • Created over 11 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple table with sorting and filtering on AngularJS

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)

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.

More Repositories

1

ng-ckeditor

JavaScript
265
star
2

angular-social

Social like-buttons with counters for sites (even ajax sites)
JavaScript
162
star
3

ng-table-export

Export data from ngTable to CSV
JavaScript
44
star
4

php-angular

PHP template engine based on AngularJS
PHP
25
star
5

ng-finder

AngularJS + elFinder + Twitter Bootstrap 3 Theme
CSS
19
star
6

ng-editable-tree

Tree view with the ability to edit
JavaScript
15
star
7

ng-table-resizable-columns

Allow resize columns in table
JavaScript
12
star
8

bazalt

CMS on Angular.JS
JavaScript
9
star
9

bz-slider

The slideshow on AngularJS for cycling through elements like a carousel (CSS3)
JavaScript
7
star
10

bazalt-thumbs

PHP
6
star
11

bz-switch

JavaScript
3
star
12

battle-city

JavaScript
3
star
13

bazalt-api

REST Server for Bazalt CMS
PHP
3
star
14

bz-sticky

Directive for sticky elements (AngularJS)
JavaScript
2
star
15

bazalt-orm

Simple ORM on PHP
PHP
2
star
16

lisapet

HTML
2
star
17

bazalt-rest

PHP
2
star
18

bazalt-old

This is enviroment for create web applications (CMF) the base of which developed content management system (CMS)
PHP
1
star
19

bz.pages

JavaScript
1
star
20

bz.seo

JavaScript
1
star
21

grunt-bazalt-upload

Grunt plugin to upload files HTTP request with RSA signing
JavaScript
1
star
22

angular-requirejs-bootstrap

1
star
23

example-bazalt-seo

Example of Bazalt CMS Seo module
JavaScript
1
star
24

school-backend

JavaScript
1
star
25

bz-uploader

JavaScript
1
star
26

bz-model

ActiveRecord pattern for REST API & ElasticSearch
JavaScript
1
star
27

bz-dragndrop

AngularJS native drag&drop (IE 9+)
JavaScript
1
star
28

bazalt-auth

PHP
1
star
29

bz-nested-model

JavaScript
1
star
30

generator-bazalt

Yeoman generator for Bazalt CMS
JavaScript
1
star
31

bazalt-admin

Administration panel theme for Bazalt CMS (http://bazalt-cms.com)
JavaScript
1
star