Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.25 KB

README.md

File metadata and controls

38 lines (33 loc) · 1.25 KB

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 https://github.com/esvit/ng-table.git

Examples (from simple to complex)

Usage

<table ng-table="tableParams" show-filter="true">
<tr ng-repeat="user in users">
    <td title="Name" filter="{ 'name': 'text' }" sortable="name">
        {{user.name}}
    </td>
    <td title="Age" filter="{ 'action': 'button' }" sortable="age">
        {{user.age}}
    </td>
</tr>
</table>