From 450d6a3b2b6ccc8a7aa50c3239e2696d707d222f Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 21 Dec 2015 10:39:44 +1100 Subject: [PATCH] DOC Clarify usage of GridFieldOrderableRows ... when used with unsaved data objects. --- docs/en/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/en/index.md b/docs/en/index.md index b495300..504a831 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -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). +