Fix typo in documentation (closes #19, thanks MattyBalaam)

This commit is contained in:
Andrew Short 2013-07-11 12:45:22 +10:00
parent aad2b973ce
commit b4d6b61ef7
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ You can customise the form fields that are used in the grid by calling `setDispl
inline editing component. By default field scaffolding will be used.
```php
$grid->getConfig()->getComponentsByType('GridFieldEditableColumns')->setDisplayFields(array(
$grid->getConfig()->getComponentByType('GridFieldEditableColumns')->setDisplayFields(array(
'FirstField' => function($record, $column, $grid) {
return new TextField($column);
},