From 856fce1b8c66f7c51c7414c0b73bdfe7f1afbc28 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 19 Oct 2018 21:17:06 +0200 Subject: [PATCH] DOCS Clarify usage of EditableColumns in a pre-scaffolded GridFieldConfig, before edit button --- docs/en/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/en/index.md b/docs/en/index.md index 7ccfe8c..42d5f9c 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -57,6 +57,14 @@ $grid->getConfig()->getComponentByType('GridFieldEditableColumns')->setDisplayFi Editing data contained in `many_many_extraFields` is supported - just treat it as you would any other field. +**Please note:** If you are using a GridFieldConfig that is scaffolded by GridField by default, +and adding GridFieldEditableColumns into it, you will probably want to add it before the edit and/or +delete buttons: + +```php +$gridFieldConfig->addComponent($editableColumns, GridFieldEditButton::class); +``` + Multi Class Adding ------------------