symfony - How to create list field type in sonata admin -


i'm using symfony 2.3 , newest sonataadminbundle. it's possible create editable fields in list view sonataadminbundle? best practice?

try this:

$listmapper             ->addidentifier('title')             ->addidentifier('artist')             ->add('createdate')             ->add('changedate')             ->add('missing', null, array('editable' => true))             ->add('_action', 'actions', array(                 'actions' => array(                     'view' => array(),                     'edit' => array(),                     'delete' => array()                 )             ))         ; 

notice array('editable' => true). booleans works, i'm not sure other fields.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -