Make sorting of options possible

Options are not sortable, please implement this change.
This commit is contained in:
Remy Vaartjes 2016-04-14 16:40:45 +02:00
parent 4e8e919c42
commit 9b5a3c2d67

View File

@ -53,6 +53,7 @@ class EditableMultipleOptionField extends EditableFormField {
->addComponents( ->addComponents(
new GridFieldToolbarHeader(), new GridFieldToolbarHeader(),
new GridFieldTitleHeader(), new GridFieldTitleHeader(),
new GridFieldOrderableRows('Sort'),
$editableColumns, $editableColumns,
new GridFieldButtonRow(), new GridFieldButtonRow(),
new GridFieldAddNewInlineButton(), new GridFieldAddNewInlineButton(),