Download the PHP package paysera/fork-pix-digital-pix-sortable-behavior-bundle without Composer
On this page you can find all versions of the php package paysera/fork-pix-digital-pix-sortable-behavior-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download paysera/fork-pix-digital-pix-sortable-behavior-bundle
More information about paysera/fork-pix-digital-pix-sortable-behavior-bundle
Files in paysera/fork-pix-digital-pix-sortable-behavior-bundle
Package fork-pix-digital-pix-sortable-behavior-bundle
Short Description Provides a way to sort your admin listing
License MIT
Homepage https://github.com/pix-digital/pixSortableBehaviorBundle
Informations about the package fork-pix-digital-pix-sortable-behavior-bundle
pixSortableBehaviorBundle
Offers a sortable feature for your Symfony2 admin listing
SonataAdminBundle implementation
The SonataAdminBundle provides a cookbook article here :
Configuration
By default, this extension works with Doctrine ORM, but you can choose to use Doctrine MongoDB by defining the driver configuration :
Use a draggable list instead of up/down buttons
In order to use a draggable list instead of up/down buttons, change the template in the action to .
Also include the JavaScript needed for this to work, in your file, add these two lines:
Adding the JavaScript and the template, will give you the possibility to drag items in a tablelist. In case you need it, this plugin fires to jQuery events when dragging is done on the element, so if you want to add custom notification, that is possible. Also, when dragging the gets an class. This class is removed when you stop dragging. This could by quite handy if you have some custom js/css.
Disable top and bottom buttons
All versions of fork-pix-digital-pix-sortable-behavior-bundle with dependencies
symfony/framework-bundle Version ^2.1|^3.0
symfony/form Version >=2.1|^3.0