Skip to content

This Bundle integrates the jQuery DataTables plugin into your Symfony application.

Notifications You must be signed in to change notification settings

pasdeloup/DatatablesBundle

 
 

Repository files navigation

SgDatatablesBundle

SensioLabsInsight

knpbundles.com

Latest Stable Version Total Downloads Latest Unstable Version License

1. Recent Changes

  • Version 0.9 is Symfony3 compatible
  • DatatableViewInterface changed
// Version 0.8
class PostDatatable extends AbstractDatatableView
{
    public function buildDatatable($locale = null)
    {}
}

// Version 0.9
class PostDatatable extends AbstractDatatableView
{
    public function buildDatatable(array $options = array())
    {}
}
  • progress_bar column added
Screenshot

2. Screenshots

Table with Bootstrap3 integration:

Screenshot

Table with default stylesheet (display):

Screenshot

3. Documentation

Installation

Column types

How to use the ColumnBuilder

Setup Datatable Class

Filtering

To use a line formatter

Query callbacks

Extensions like Buttons or Responsive

Options of the generator

Reference configuration

4. Examples

Examples

Demo Application - must be updated!

5. Integrating 3rd party stuff

Integrate Bootstrap3

Integrate the Translatable behavior extension for Doctrine 2

Integrate the LiipImagineBundle / ImageColumn, GalleryColumn and thumbnails

6. Creating an Admin Section (unstable)

Admin section

7. Limitations and Known Issues

Much like every other piece of software SgDatatablesBundle is not perfect and far from feature complete.

Use this Bundle in ServerSide mode

The ClientSide mode currently does not work with all features. There are some problems with the Buttons-Extension and MultiSelectColumn. At the moment I can not say whether the ClientSide mode is supported by me in the future. Priority has the ServerSide mode.

Other limitations

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

8. Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.

9. Friendly License

This bundle is available under the MIT license. See the complete license in the bundle:

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 /*)!

About

This Bundle integrates the jQuery DataTables plugin into your Symfony application.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 82.8%
  • HTML 17.2%