Tag: GridField

SS4: edit many_many_extraFields in a GridField detail form

In a recent project I had a $many_many relation between TeamMember and TeamGroup where each member can have a different role per group.
Read more about 'SS4: edit many_many_extraFields in a GridField detail form '...

SVG in the SilverStripe backend

The other day WMK mentioned that lck_ on IRC used SVG's as icons in the backend. So I thought why not...
Read more about 'SVG in the SilverStripe backend'...

Get all titles of a many_many component in a GridField summary

Assuming you have a DataObject with $many_many Tags, you can easily add all Tag's Titles comma seperated to $summary_fields using PHP's join method, even sorted by the SortOrder of the...
Read more about 'Get all titles of a many_many component in a GridField summary'...

Include raw HTML in gridfield

If you need to show data within a gridfield including raw HTML... <?php class ObjectA extends DataObject { static $db = array( "Name" => "Varchar", ); static $has_many = array(...
Read more about 'Include raw HTML in gridfield '...
RSS feed for this blog