GridFieldDetailForm that has a search sidebar always visible

dev-master 2017-07-12 01:31 UTC

This package is auto-updated.

Last update: 2024-04-08 05:59:57 UTC


Grid Field Detail Form that has a search sidebar always visible. Note that we just need to modify the item_request, not the whole GridFieldDetailForm. Usage:

class MyDataObjectAdmin extends ModelAdmin {

	static $managed_models = array(

	public function getEditForm($id = null, $fields = null) {
	    $form = parent::getEditForm($id, $fields);
	    $config = $form->Fields()->first()->getConfig();
	    return $form;