dev-master
9999999-devGridFieldDetailForm that has a search sidebar always visible
BSD-3-Clause
The Requires
search silverstripe gridfield sidebar detail detailform
GridFieldDetailForm that has a search sidebar always visible
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:, (*1)
class MyDataObjectAdmin extends ModelAdmin { static $managed_models = array( 'MyDataObject' ); public function getEditForm($id = null, $fields = null) { $form = parent::getEditForm($id, $fields); $config = $form->Fields()->first()->getConfig(); $config->getComponentByType('GridFieldDetailForm') ->setItemRequestClass('GridFieldDetailFormWithSearch_ItemRequest') ->setTemplate('GridFieldDetailFormWithSearch'); return $form; } }
GridFieldDetailForm that has a search sidebar always visible
BSD-3-Clause
search silverstripe gridfield sidebar detail detailform