dudapiotr/zftable

Flexible tool to generate table

Installs: 5 739

Dependents: 2

Stars: 74

Watchers: 25

Forks: 53

Open Issues: 28

Language: PHP

3.1 2014-09-12 10:47 UTC

README

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

Version 3.1 Created by Piotr Duda

Download

Complete site : dudapiotr.eu

Introduction

Awesome table/grid (and much much more) generator with huge possibilities of decorating and conditioning. Integrated with DataTables, Doctrine 2, Bootstrap 2.0 and 3.0.

Contributors

If you want to help develop this module please don't hesitate. Thanks for cooperation:

Requirements

Features

  • Flexible generating table
  • Decoratoring headers, rows and cell
  • Conditional decorating (Greater, Lesser, Equal, NotEqual, Between)
  • Simply Integration with DataTables (last integrity 1.10)
  • 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 separating row by ordering column (dividing the same data)
  • Exporter data to CVS
  • Callable decorator
  • Doctrine 2 Adapter (Source)
  • Array Adapter (Source)
  • JavaScript Events (Callable Events)
  • Possibility to send additional params
  • Asset manager functionality (https://github.com/RWOverdijk/AssetManager)
  • Visio Crud Module integration (https://github.com/HyPhers/visio-crud-zf2/)

Changes in Version 3.1

Changes in Version 3.0

  • Callable decorator
  • Doctrine 2 Adapter (Source)
  • Array Adapter (Source)
  • JavaScript Events (Callable Events)
  • Possibility to send additional params

Changes in Version 2.0

  • Editable decorator -> the ability to edit data from the table level
  • Filtering for each column
  • Row decorator for separating row by ordering column (dividing the same data)
  • New conditions
  • Exporter data to CVS
  • Support for Bootstrap 3.0

In next versions

  • MongoDB adapter
  • Export only selected data
  • Add dynamically (by ajax) new row
  • More decorators and conditions
  • Adapter for JGrid
  • Exporter (PDFV)

Installation

Installation description has been moved to wiki https://github.com/dudapiotr/ZfTable/wiki/Installation-and-Configuration

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 data from ZF2 tutorial - album).