ZfTable 2.0 See on live (new site)
Version 2.0 Created by Piotr Duda
Flexible table generator with headers decorating , rows and cells. It Uses own engine to communication by ajax (Pagination, QuickSearch, Sorting and Items per page), but simply can be integrated with dataTables as well. In 2.0 version added edit data via ajax, column filters, exporter to CSV and more decorators and conditions.
If you want to help develop this module please don't hesitate.
- Doctrine 2 Adapter
- Closure decorators
- Zend Framework 2 (latest master)
- Flexible generating table
- Decoratoring headers, rows and cell
- Conditional decorating (Greater, Lesser, Equal, NotEqual, Between)
- Simply Integration with DataTables
- Pagination, QuickSearch, Sorting and Items per page
- Default Bootstrap layout - support for Bootstrap 3.0 and 2.2.2
- Simple customization (show in example - we can change table view to any view eq list of articles with all features like pagination, quicksearch, sorint and item per page)
- Editable decorator -> the ability to edit data from the table level
- Filtering for each column
- Row decorator for separeting row by ordering column (dividing the same data)
- Exporter data to CVS
- Editable decorator -> the ability to edit data from the table level
- Filtering for each column
- Row decorator for separeting row by ordering column (dividing the same data)
- New conditions
- Exporter data to CVS
- Support for Bootstrap 3.0
- Export only selected data
- Add dynamicly (by ajax) new row
- More decorators and conditions
- Adapter for Doctrine 2 and Arrays
- Adapter for JGrid
- Exporter (PDFV)
Clone this project into your ./vendor/
directory.
-
Add this project in your composer.json:
"require": { "dudapiotr/zftable": "dev-master" }
-
Now tell composer to download ZfTable by running the command:
$ php composer.phar update
-
Enabling it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'ZfTable', ), // ... );
-
From public directory (in sources) copy optional files (js, css and images) to your public. All files are optional (zf-table.js is need to use own engine, but also can use dataTables engine)
Examples See on live
In Example directory there is a couple of examples how use decorators and generate table. After added js and css file to your layout view, in controller there are a table calls(based on datas from ZF2 tutorial - album ).