Jump to:

5451 Posts in 1673 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Modeladmin using Function in DataGrid

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 272 Views
  • lx
    Avatar
    Community Member
    81 Posts

    Modeladmin using Function in DataGrid Link to this post

    Hi,

    in SS2.4 i often used functions in columns of the modeladmins tablelistfield. (see attached screenshot)
    This could easy be done by calling a function name in static $summary_fields = array();

    But it doesnt seem to work in SS3.
    So how can i show a boolean column of the grid as "yes"/"no" instead of ""/"1" ?

    thanks,
    lx

    Attached Files
    272 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.