A full featured table plugin for angular application.
If you search over the internet for table plugin/library for your angular application you'll not find any library that has some basic features altogether, most of them has one or two to full-fill your requirement. So one-table is here to full-fill your requirement by these features:
- Single object expression for all the customization
- No need of manual table header
- Configurable Grand-Total Row
- Configurable comma separated numeric row
- Customizable CSS class
- Export to excel
- Twitter Bootstrap compatible
- ...coming soon
Add a reference of one-table.js in your application:
<script type="text/javascript" src="one-table.js"></script>
and then inject the dependency in your application module:
var myApp = angular.module('myApp', ['oneTableApp']);
now you're almost ready to use one-table in your application. In your view use one-table directive like below:
<one-table one-table-properties="{ name: 'empTable', headerSource: empheaderSource, dataSource: empDataSource, cssClass: 'table table-bordered' }"></one-table>
one-table requires angularjs v-1.3.17 or later and jQuery v-3.1.0 or later.
You can install it with bower:
bower install one-table
- AngularJS - The JS framework used
- Khairul Islam - one-table - Khairul Islam
This project is licensed under the MIT License - see the LICENSE.md file for details
- To export into excel i used this gist https://gist.github.com/umidjons/352da2a4209691d425d4