DOC Clarify usage of GridFieldOrderableRows

... when used with unsaved data objects.
This commit is contained in:
Marcus 2015-12-21 10:39:44 +11:00
parent 59a90ab385
commit 450d6a3b2b
1 changed files with 3 additions and 0 deletions

View File

@ -97,3 +97,6 @@ class Item extends DataObject {
}
}
```
**Please NOTE:** There is a limitation when using `GridFieldOrderableRows` on unsaved data objects; namely, that it doesn't work as without data being saved, the list of related objects has no context. Please check `$this->ID` before adding the `GridFieldOrderableRows` component to the grid field config (or even, before adding the gridfield at all).