Hi
I'm having an issue with GridFields not being displayed when viewing a record in model admin in the "view" context.
When i add a GridField to the object in getCmsFields using the following code, the field is displayed when opening the object in edit mode but when trying to open it in view made i just get the field name as a label with the value "(none)"
$fields->addFieldToTab('Root.Main',
GridField::create('Events', 'Events', Events::get()->limit(10))
);
Is there a way to have GridFields displayed when the item is opened in view mode?
Thanks