Giter Club home page Giter Club logo

mwdsystems / zftable Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dudapiotr/zftable

0.0 1.0 0.0 672 KB

ZfTable 2.0. 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

Home Page: http://dudapiotr.eu/table/changes

License: MIT License

zftable's Introduction

Version 2.0 Created by Piotr Duda

Introduction

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.

Contributors

If you want to help develop this module please don't hesitate.

Requirements

Features

  • 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

Changes in Version 2.0

  • 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

In next verions

  • 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)

Installation

Main Setup

By cloning project

Clone this project into your ./vendor/ directory.

With composer

  1. Add this project in your composer.json:

    "require": {
        "dudapiotr/zftable": "dev-master"
    }
  2. Now tell composer to download ZfTable by running the command:

    $ php composer.phar update

Post installation

  1. Enabling it in your application.config.phpfile.

    <?php
    return array(
        'modules' => array(
            // ...
           'ZfTable',
        ),
        // ...
    );
  2. 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 ).

zftable's People

Contributors

dudapiotr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.