interface GridField_DataManipulator implements GridFieldComponent (View source)

Can modify the data list.

For example, a paginating component can apply a limit, or a sorting component can apply a sort.

Generally, the data manipulator will make use of to GridState variables to decide how to modify the DataList.

Methods

public
getManipulatedData(GridField $gridField, SS_List $dataList)

Manipulate the DataList as needed by this grid modifier.

Details

DataList getManipulatedData(GridField $gridField, SS_List $dataList)

Manipulate the DataList as needed by this grid modifier.

Parameters

GridField $gridField
SS_List $dataList

Return Value

DataList