Now uses GridFieldExtensions for the sortable rows

This commit is contained in:
James Ayers 2013-12-16 14:48:48 +13:00 committed by Will Rossiter
parent ff04a9f493
commit ae9a12ed61

View File

@ -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