ziethan / ng-table

Simple table with sorting and filtering on AngularJS

Home Page:http://esvit.github.io/ng-table/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table + AngularJS

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.

Installing via Bower

bower install ng-table

Examples (from simple to complex)

Usage

<table ng-table="tableParams" show-filter="true">
<tr ng-repeat="user in users">
    <!-- IMPORTANT: String titles must be in single quotes -->
    <td data-title="'Name of person'" filter="{ 'name': 'text' }" sortable="name">
        {{user.name}}
    </td>
    <td data-title="'Age'" filter="{ 'action': 'button' }" sortable="age">
        {{user.age}}
    </td>
</tr>
</table>

About

Simple table with sorting and filtering on AngularJS

http://esvit.github.io/ng-table/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 58.4%Language:CSS 37.1%Language:CoffeeScript 4.5%