UndefinedOffset\SortableGridField\Forms\GridFieldSortableRows::__construct
Signature
public function __construct(string
$sortColumn,
[boolean
$disableSelection = true,
[string
$updateVersionStage = NULL,
[string
$customRelationName = NULL]]] )
Parameters
$sortColumn
—
string
- Column that should be used to update the sort information
$disableSelection
—
boolean
- Disable selection on the GridField when dragging
$updateVersionStage
—
string
- Name of the versioned stage to update this disabled by default unless this is set
$customRelationName
—
string
- Name of the relationship to use, if left null the name is determined from the GridField's name