mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
DOCS Clarify usage of EditableColumns in a pre-scaffolded GridFieldConfig, before edit button
This commit is contained in:
parent
b676d96c5d
commit
856fce1b8c
@ -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
|
Editing data contained in `many_many_extraFields` is supported - just treat it as you would any
|
||||||
other field.
|
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
|
Multi Class Adding
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user