silverstripe/sapphire — pull request #597 by dhensby (2012-06-29 21:10:19+00:00)
Title: Auto Relation Setting on GridField

Auto relation setting is now working on grid field when used like so:

GridField::create(
'Name',
'Label',
$this->Relation(),
GridFieldConfig_RelationEditor::create()
)

To turn off relation auto setting:
GridFieldConfig_RelationEditor::create($itemsPerPage,false)