Merge pull request #67 from silverstripe-scienceninjas/pull/6921-renaming-of-gridfields

Pull/6921 renaming of gridfields
This commit is contained in:
Sam Minnée 2012-03-08 17:50:31 -08:00
commit aaa52d59e6

View File

@ -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(