GridFieldFilterHeader
class GridFieldFilterHeader implements GridField_HTMLProvider, GridField_DataManipulator, GridField_ActionProvider
GridFieldFilterHeader alters the {@link GridField} with some filtering fields in the header of each column.
Methods
Determine what happens when this component is used with a list that isn't {@link SS_Filterable}.
See {@link setThrowExceptionOnBadDataType()}
Handle an action on the given {@link GridField}.
No description
Details
at line 27
setThrowExceptionOnBadDataType($throwExceptionOnBadDataType)
Determine what happens when this component is used with a list that isn't {@link SS_Filterable}.
- true: An exception is thrown
- false: This component will be ignored - it won't make any changes to the GridField.
By default, this is set to true so that it's clearer what's happening, but the predefined {@link GridFieldConfig} subclasses set this to false for flexibility.
at line 34
getThrowExceptionOnBadDataType()
See {@link setThrowExceptionOnBadDataType()}
at line 59
Array
getActions(GridField $gridField)
at line 65
handleAction(GridField $gridField, String $actionName, Array $arguments, Array $data)
Handle an action on the given {@link GridField}.
Calls ALL components for every action handled, so the component needs to ensure it only accepts actions it is actually supposed to handle.