\GridFieldSortButton
Adds an "SortList" button to the bottom or top of a GridField.
Synopsis
class GridFieldSortButton
implements
GridField_HTMLProvider,GridField_ActionProvider,GridField_URLHandler
{
- // methods
- public void __construct()
- public array getHTMLFragments()
- public array getActions()
- public void handleAction()
- public array getURLHandlers()
Hierarchy
Implements
- GridField_HTMLProvider
- GridField_ActionProvider
- GridField_URLHandler
Methods
public
- __construct()
- getActions() — SortList is an action button.
- getHTMLFragments() — Place the sortList button in a <p> tag below the field
- getURLHandlers() — SortList is accessible via the url
- handleAction() — Handle the sortList action.