Download the PHP package mikeevstropov/sortable-tree-bundle without Composer
On this page you can find all versions of the php package mikeevstropov/sortable-tree-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mikeevstropov/sortable-tree-bundle
More information about mikeevstropov/sortable-tree-bundle
Files in mikeevstropov/sortable-tree-bundle
Package sortable-tree-bundle
Short Description Offers a sortable feature for your Symfony2/3 admin tree listing
License MIT
Homepage https://github.com/mikeevstropov/mevSortableTreeBundle
Informations about the package sortable-tree-bundle
[]()
mevSortableTreeBundle
Offers a sortable feature for your Symfony2/3 admin tree listing
Install requirements
SonataAdminBundle
- the SonataAdminBundle provides a installation article here:
http://symfony.com/doc/current/cmf/tutorial/sonata-admin.html
Install and enable Tree Extension from gedmo/doctrine-extensions
- nested behavior will implement the standard Nested-Set behavior on your Entity
(check stof/doctrine-extensions-bundle for easier integration in your project)
https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/tree.md
Installation
Configuration
Enable the mevSortableTreeBundle to your kernel:
Include MevSortableTreeBundle:SortableTree
to third service argument:
Create new routes and the action field in Admin Class:
Configure sort the list of models by root
and lft
fields:
That's it!
ToDo
- Sortable behaveor for root elements (but, you can hide root element)