mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 12:05:56 +00:00
Now uses GridFieldExtensions for the sortable rows
This commit is contained in:
parent
ff04a9f493
commit
ae9a12ed61
@ -53,7 +53,8 @@ class DMSSiteTreeExtension extends DataExtension {
|
|||||||
$gridFieldConfig = GridFieldConfig::create()->addComponents(
|
$gridFieldConfig = GridFieldConfig::create()->addComponents(
|
||||||
new GridFieldToolbarHeader(),
|
new GridFieldToolbarHeader(),
|
||||||
new GridFieldFilterHeader(),
|
new GridFieldFilterHeader(),
|
||||||
new GridFieldSortableHeader(),
|
//new GridFieldSortableHeader(),
|
||||||
|
new GridFieldOrderableRows('DocumentSort'),
|
||||||
new GridFieldDataColumns(),
|
new GridFieldDataColumns(),
|
||||||
new GridFieldEditButton(),
|
new GridFieldEditButton(),
|
||||||
new DMSGridFieldDeleteAction(), //special delete dialog to handle custom behaviour of unlinking and deleting
|
new DMSGridFieldDeleteAction(), //special delete dialog to handle custom behaviour of unlinking and deleting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user