danbroooks/gridfield-selectexisting

该包最新版本(0.1.2)没有可用的许可证信息。

通过勾选/取消勾选现有记录列表来管理Gridfield中的关系

安装: 235

依赖项: 0

建议者: 0

安全性: 0

星星: 2

观察者: 2

分支: 3

开放性问题: 0

类型:silverstripe-module

0.1.2 2015-04-28 16:58 UTC

This package is not auto-updated.

Last update: 2024-09-20 21:12:05 UTC


README

Silverstripe Gridfield组件,允许您通过勾选/取消勾选现有数据对象列表来管理关系

安装

composer require danbroooks/gridfield-selectexisting

使用方法

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

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