Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Add checkbox to model admin


Go to End


1057 Views

Avatar
MrNick

Community Member, 9 Posts

8 March 2012 at 7:34am

Morning,

I have setup a model admin, with a list of players.
These players have an 'Enabled' attribute, on the model admin search page, I want to show a tick box, when I can mass enable/disable people, and at the bottom have a save.

Is it possible to add a checkbox into the rows?

There is $summary_fields, but how can I add custom fields, and then add a button to the bottom to save this mass edit?