Merge pull request #290 from christopherdarling/patch-2

DOCS ReadonlyField in example should be FQCN
This commit is contained in:
Robbie Averill 2019-03-28 09:15:15 +13:00 committed by GitHub
commit 176922303e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ $grid->getConfig()->getComponentByType('GridFieldEditableColumns')->setDisplayFi
}, },
'SecondField' => array( 'SecondField' => array(
'title' => 'Custom Title', 'title' => 'Custom Title',
'field' => 'ReadonlyField' 'field' => ReadonlyField::class
), ),
'ThirdField' => array( 'ThirdField' => array(
'title' => 'Custom Title Two', 'title' => 'Custom Title Two',