ZenGridField::addDragAndDrop
A shortcut for adding drag-and-drop to a {@link GridField}. This method relies on thirdparty plugins, which are loosely defined in the ZenFields _config layer.
Signature
public function addDragAndDrop([string
$fieldName = "SortOrder"] )
Parameters
$fieldName
— string- The sortable field name
Returns
- GridFieldConfig