danbroooks/gridfield-selectexisting

There is no license information available for the latest version (0.1.2) of this package.

Manage relationships in Gridfield by ticking/unticking from a list of existing records

Installs: 235

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 3

Open Issues: 0

Type:silverstripe-module

0.1.2 2015-04-28 16:58 UTC

This package is not auto-updated.

Last update: 2024-06-14 19:48:26 UTC


README

GridFieldSelectExisting

Silverstripe Gridfield component that allows you to manage relationships by ticking/unticking from a list of existing data objects

Installation

composer require danbroooks/gridfield-selectexisting

Usage

$config = GridFieldConfig_RelationEditor::create(10)
	->addComponent(new GridFieldSelectExisting());

GridField::create('Relationship', 'Relationship', $this->Relationship(), $config));