GridBuilder::createRelationSortableGrid
Create a grid builder with a default GridFieldConfig_RelationEditor
<p> Allows drag and drop sorting of grid rows </p> <p> Allows to search for existing records to add to the relationship, detach listed records from the relationship (rather than removing them from the database), and automatically add newly created records to it. </p>
Signature
public function createRelationSortableGrid([string
$sortField = "Sort"] )
Parameters
$sortField
— string
Returns
- self