mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Update README.md
This commit is contained in:
parent
4993f6d3e6
commit
a07118e2d0
@ -11,3 +11,9 @@ To enable drag and drop sorting on the grid field add the following to your grid
|
||||
|
||||
:::php
|
||||
$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
|
Loading…
Reference in New Issue
Block a user