Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Fix reference to class that was renamed in modeladmin docs

  • Loading branch information...
commit 769995cd1d6cec6b0591fee493488d12afb2b33c 1 parent 4da42f2
@halkyon halkyon authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/en/reference/modeladmin.md
View
4 docs/en/reference/modeladmin.md
@@ -176,7 +176,7 @@ To customize the exported columns, override the edit form implementation in your
$form = parent::getEditForm($id);
if($this->modelClass == 'Product') {
$grid = $form->Fields()->fieldByName('Product');
- $grid->getConfig()->getComponentByType('GridFieldExporter')
+ $grid->getConfig()->getComponentByType('GridFieldExportButton')
->setExportColumns(array(
// Excludes 'ProductCode' from the export
'Name' => 'Name',
@@ -224,4 +224,4 @@ For an introduction how to customize the CMS templates, see our [CMS Architectur
* [genericviews Module](http://silverstripe.org/generic-views-module)
* [Presentation about ModelAdmin at SupperHappyDevHouse Wellington](http://www.slideshare.net/chillu/modeladmin-in-silverstripe-23)
* [Reference: CMS Architecture](../reference/cms-architecture)
-* [Howto: Extend the CMS Interface](../howto/extend-cms-interface)
+* [Howto: Extend the CMS Interface](../howto/extend-cms-interface)
Please sign in to comment.
Something went wrong with that request. Please try again.