\StatefulGridField
Synopsis
class StatefulGridField
extends GridField
{
- // methods
- public void __construct()
- public {GridField} setConfig()
- public {string} Link()
- public void setList()
- public void setForm()
Hierarchy
Extends
- GridField
Methods
public
- __construct() — Creates a new GridField field
- Link() — Return a Link to this field, if the list is an instance of StatefulGridFieldList the session key for the state is appended to the url
- setConfig() — Sets the gridfield config ensuring that the save handler is in place
- setForm() — Set the container form. If the list is an instance of StatefulGridFieldList and the state is empty it tries to restore the state from the session.
- setList() — Set the datasource. If the list is an instance of UnsavedRelationList the list is converted to a StatefulGridFieldList. If the state is empty then it tries to restore the state from the session.