mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #67 from silverstripe-scienceninjas/pull/6921-renaming-of-gridfields
Pull/6921 renaming of gridfields
This commit is contained in:
commit
aaa52d59e6
@ -120,11 +120,11 @@ JS
|
|||||||
// File listing
|
// File listing
|
||||||
$gridFieldConfig = GridFieldConfig::create()->addComponents(
|
$gridFieldConfig = GridFieldConfig::create()->addComponents(
|
||||||
new GridFieldSortableHeader(),
|
new GridFieldSortableHeader(),
|
||||||
new GridFieldDefaultColumns(),
|
new GridFieldDataColumns(),
|
||||||
new GridFieldPaginator(15),
|
new GridFieldPaginator(15),
|
||||||
new GridFieldDeleteAction(),
|
new GridFieldDeleteAction(),
|
||||||
new GridFieldEditAction(),
|
new GridFieldEditButton(),
|
||||||
new GridFieldPopupForms()
|
new GridFieldDetailForm()
|
||||||
);
|
);
|
||||||
$gridField = new GridField('File','Files', $this->getList(), $gridFieldConfig);
|
$gridField = new GridField('File','Files', $this->getList(), $gridFieldConfig);
|
||||||
$gridField->setDisplayFields(array(
|
$gridField->setDisplayFields(array(
|
||||||
|
Loading…
Reference in New Issue
Block a user