Update README.md

This commit is contained in:
Ed 2012-05-16 22:41:14 -03:00
parent 4993f6d3e6
commit a07118e2d0

View File

@ -10,4 +10,10 @@ To enable drag and drop sorting on the grid field add the following to your grid
*Grid Field Config* *Grid Field Config*
:::php :::php
$myGridConfig->addComponent(new GridFieldSortableRows('{Column to store sort}')); $myGridConfig->addComponent(new GridFieldSortableRows('{Column to store sort}'));
To move an item to another page drag the row over the respective page button and release.
## @TODO
* Optimize re-ordering of a has_many relationship when sorting on a single page
* Add visual cue that a row can be dropped over the page icons