2017 © Pedro Peláez
 

symfony-bundle arxis-datatables-bundle

Symfony Datatable Bundle For Doctrine2 Entities

image

renearias/arxis-datatables-bundle

Symfony Datatable Bundle For Doctrine2 Entities

  • Tuesday, April 26, 2016
  • by renearias
  • Repository
  • 2 Watchers
  • 0 Stars
  • 306 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 213 Forks
  • 0 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

SgDatatablesBundle

SensioLabsInsight, (*1)

knpbundles.com, (*2)

Latest Stable Version Total Downloads Latest Unstable Version License, (*3)

Help wanted

To all russian and polish speaking contributors. Please help me to update the translation files. Thanks a lot!, (*4)

Recent Important Changes

The ClientSide mode is no longer supported by me!, (*5)

  • use parent service instead of tagging datatables view class
services:
    app.datatable.post:
        class: AppBundle\Datatables\PostDatatable
        parent: sg_datatables.datatable.abstract
  • unlimited nested association support and fix filtered counter when using a custom query
  • start for PostgreSql support
  • Datatable Events supported
  • some new translations
  • render_if Closure parameter in action column
  • outsourcing individual filter in new classes, see below example
    public function buildDatatable(array $options = array())
    {
        // ...

        $users = $this->em->getRepository('AppBundle:User')->findAll();

        $this->columnBuilder
            ->add('title', 'column', array(
                'title' => 'Title',
                'filter' => array('text', array(
                    'search_type' => 'eq'
                ))
            ))
            ->add('visible', 'boolean', array(
                'title' => 'Visible',
                'filter' => array('select', array(
                    'search_type' => 'eq',
                    'select_options' => array('' => 'All', '1' => 'Yes', '0' => 'No')
                )),
            ))
            ->add('createdby.username', 'column', array(
                'title' => 'Createdby User',
                'filter' => array('select', array(
                    'search_type' => 'eq',
                    'select_options' => array('' => 'All') + $this->getCollectionAsOptionsArray($users, 'username', 'username'),
                ))
            ))
            ->add('createdAt', 'datetime', array(
                'title' => 'Created',
                'filter' => array('daterange', array()),
            ))
        ;
    }

Screenshots

Table with Bootstrap3 integration:

Screenshot

Table with default stylesheet (display):

Screenshot

Documentation

Installation, (*6)

Column types, (*7)

In-place editing, (*8)

How to use the ColumnBuilder, (*9)

Setup Datatable Class, (*10)

Filtering, (*11)

To use a line formatter, (*12)

Query callbacks, (*13)

Extensions like Buttons or Responsive, (*14)

Options of the generator, (*15)

Reference configuration, (*16)

Example

Demo Application, (*17)

Integrating 3rd party stuff

Integrate Bootstrap3, (*18)

Integrate the Translatable behavior extension for Doctrine 2, (*19)

Integrate the LiipImagineBundle / ImageColumn, GalleryColumn and thumbnails, (*20)

Limitations and Known Issues

Much like every other piece of software SgDatatablesBundle is not perfect and far from feature complete., (*21)

Use this Bundle in ServerSide mode

The ClientSide mode is no longer supported by me., (*22)

Other limitations

  • This bundle does not support multiple Ids
  • Searching and filtering on a virtual column not yet implemented and disabled by default
  • PostgreSql is currently not fully supported

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker., (*23)

Friendly License

This bundle is available under the MIT license. See the complete license in the bundle:, (*24)

Resources/meta/LICENSE

You are free to use, modify and distribute this software, as long as the copyright header is left intact (specifically the comment block which starts with /*)!, (*25)

The Versions

26/04 2016

dev-master

9999999-dev https://github.com/stwe/DatatablesBundle

Symfony Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar stwe

symfony2 table datatables symfony3 grid pagination admin datagrid datatable

22/01 2016

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/renearias/arxis-datatables-bundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar stwe
by Avatar renearias

symfony2 table grid pagination datagrid datatable

05/07 2015

v0.7.1

0.7.1.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar stwe

symfony2 table grid pagination datagrid datatable

25/04 2015

v0.7

0.7.0.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar stwe

symfony2 table grid pagination datagrid datatable

14/01 2015

v0.6.1

0.6.1.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar stwe

symfony2 table grid pagination datagrid datatable

28/12 2014

v0.6

0.6.0.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar stwe

symfony2 table grid pagination datagrid datatable

09/11 2014

v0.5.3

0.5.3.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

09/10 2014

v0.5.2

0.5.2.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

02/08 2014

v0.5.1

0.5.1.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

20/07 2014

v0.5

0.5.0.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

11/05 2014

v0.4.2

0.4.2.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

13/02 2014

v0.4.1

0.4.1.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

02/02 2014

v0.4

0.4.0.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

22/01 2014

v0.3

0.3.0.0 https://github.com/stwe/DatatablesBundle

Symfony2 Datatable Bundle For Doctrine2 Entities

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

13/10 2013

v0.2

0.2.0.0 https://github.com/stwe/DatatablesBundle

This Bundle integrates the jQuery DataTables plugin into your Symfony2 application. Compatible with Doctrine ORM.

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable

06/10 2013

v0.1

0.1.0.0 https://github.com/stwe/DatatablesBundle

This Bundle integrates the jQuery DataTables plugin into your Symfony2 application. Compatible with Doctrine ORM.

  Sources   Download

MIT

The Requires

 

by Avatar stwe

symfony2 table grid pagination datagrid datatable