diff --git a/docs/en/index.md b/docs/en/index.md index 504a831..fb1e3be 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -44,6 +44,12 @@ $grid->getConfig()->getComponentByType('GridFieldEditableColumns')->setDisplayFi 'SecondField' => array( 'title' => 'Custom Title', 'field' => 'ReadonlyField' + ), + 'ThirdField' => array( + 'title' => 'Custom Title Two', + 'callback' => function($record, $column, $grid) { + return TextField::create($column); + } ) )); ```