WebbuildersGroup\FrontEndGridField\Forms\GridField\GridField
Synopsis
class GridField
extends GridField
{
- // members
- private static bool $use_admin_api = false;
- protected boolean $useAdminAPI = false;
- // methods
- public string FieldHolder()
- public GridField setUseAdminAPI()
- public Whether getUseAdminAPI()
- public string Type()
- public GridField performReadonlyTransformation()
Hierarchy
Extends
- SilverStripe\Forms\GridField\GridField
Members
private
- $use_admin_api
—
WebbuildersGroup\FrontEndGridField\Forms\GridField\bool
Whether to use the admin's React based apis or not
protected
- $useAdminAPI
Methods
public
- FieldHolder() — Returns the whole gridfield rendered with all the attached components
- Type() — Gets the type for this field
- getUseAdminAPI() — Get's whether this GridField is to use the Admin's API
- performReadonlyTransformation() — Custom Readonly transformation to remove actions which shouldn't be present for a readonly state.
- setUseAdminAPI() — Allow this GridField to use the Admin's API, you should not mix and match this otherwise you will run into issues!