webbuilders-group/silverstripe-frontendgridfield

Wraps gridfield adding support for using it on the front-end.

Installs: 15 817

Dependents: 2

Suggesters: 0

Stars: 17

Watchers: 7

Forks: 8

Open Issues: 1

Language:CSS

Type:silverstripe-module

0.4.0 2017-03-31 13:04 UTC

README

Wraps gridfield adding support for using it on the front-end of a site.

Maintainer Contact

Requirements

  • SilverStripe Framework 4.3+

Installation

Usage

Instead of using the GridField class you need to use FrontEndGridField for use on the front-end, note it is not recommended to be used in the CMS. As well instead of using the GridFieldConfig extensions provided with SilverStripe use FrontEndGridFieldConfig_Base, FrontEndGridFieldConfig_RecordEditor, FrontEndGridFieldConfig_RecordViewer, or FrontEndGridFieldConfig_RelationEditor. If you are building your own GridField config ensure that you use FrontEndGridFieldDetailForm instead of GridFieldDetailForm.