Advertisement
prijlet

Untitled

Nov 2nd, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. $config->getComponentByType('GridFieldEditableColumns')
  2. ->setDisplayFields(array(
  3.  
  4. 'Layout' => array(
  5. 'title' => 'Layout',
  6. 'field' => DropdownField::create('Size', 'Size', array('Small' => 'Small'))
  7. ),
  8. )
  9. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement