Download the PHP package emc/table-bundle without Composer
On this page you can find all versions of the php package emc/table-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emc/table-bundle
More information about emc/table-bundle
Files in emc/table-bundle
Package table-bundle
Short Description TableBundle makes dealing with tables easier. This bundle manage the most common needs for tables. It works and flexible as Symfony Forms. For more documentations see http://www.table-bundle.com
License MIT
Homepage http://www.table-bundle.com
Informations about the package table-bundle
TableBundle
Documentation & Demo Homepage : http://www.table-bundle.com/
This bundle gives a simple way to generate and manage tables based on Symfony. It's allow also :
- Flexibility
- Pagination (automated)
- Searching (automated)
- Sorting (automated)
- Theming
- Extensions
- Sub-tables (automated)
- Rows selection (automated)
- Export (PDF, XSL, CSV) (automated)
Installation
- Download TableBundle
- Enable the Bundle
- Create/Custom new column type extension
- Sub-tables
- Examples
- Result & Screenshots
Download TableBundle
This can be done in several ways, depending on your preference. The first method is the standard Symfony2 method.
Using Composer
Add TableBundle in your composer.json:
Now tell composer to download the bundle by running the command:
Using submodules
If you prefer instead to use git submodules, then run the following:
Note that using submodules requires manually registering the EMC
namespace to your autoloader:
Enable the bundle
Finally,
Enable the bundle in the kernel:
Enable the routing config :
Dependances
- jQuery >= v1.4.2 : http://jquery.com/download/
- emc/xmlhttprequest-bundle : 3.0
Create/Custom new column type extension
PHP : Column type class
Twig : Column type template
Config : Column type service
Sub-tables
Controller Code
Table Type Code
Examples
Consider that we have two data base tables :
- city : #id, name, createdAt, stateid
- state : #id, name