Git Product home page Git Product logo

ng-table's Introduction

Table + AngularJS

Build Status Coverage Status Bitdeli Badge

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.

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

Updates

v0.3.2 (master)

  • rename filter.name to filter.$$name according to issue #196
  • add debugMode setting
  • add defaultSort setting
  • add filterDelay setting
  • add multisorting (click on header with Ctrl-key)
  • add css classes (ng-table-pager, ng-table-pagination, ng-table-counts)

v0.3.1

  • add support of header-class attribute
  • add fixes for compatibility with early versions of AngularJS
  • add data field to ngTableParams
  • Allow expressions in the sortable & filter attribute (Issue #93)

v0.3.0

v0.2.2

In functions that return data for the filters were removed .promise

$scope.names = function(column) {
    ...
    def.resolve(names);
    // return def.promise; - old code
    return def;
};

Installing via Bower

bower install ng-table

Development

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

npm install -g grunt-cli
npm install && bower install
grunt

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

Examples (from simple to complex)

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.

ng-table's People

Contributors

esvit avatar aslubsky avatar alexandrbaran avatar endorama avatar tlierfeld avatar leonar15 avatar bendalton avatar harscoet avatar supergillis avatar karl avatar airdropit avatar mibamur avatar killfill avatar scatcher avatar ziethan avatar quick691fr avatar runxc1 avatar zackarychapple avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.