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.
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
See CHANGELOG.md
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)
- Pagination
- Sorting
- Filtering
- Cell template
- Row template
- Params in url
- Ajax
- Table with hidden pagination
- Custom template(pagination)
- Custom filters
- Table with checkboxes
- Table with grouping
- Table with grouping with callback
- Table with external control of data
- Export to CSV
Configuring ng-table
For a list of configuration options available, see Configuring your table with NgTableParams
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.