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.

Customising the CMS /

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

Batch actions in ModelAdmin


Go to End


1067 Views

Avatar
sir_ken

Community Member, 1 Post

12 November 2011 at 12:46am

I am currently developing a site where the customer wants to be able to execute batch actions on certain objects.
I thought that a brilliant way to do this was to add a checkbox to every row in modeladmin and a button down by the "Export to CSV"-button with "My Batch Action".

I have managed to add the checkbox to each row and to add the action button, but when i click the button the information about which boxes are checked is not sent in the request.

Has anybody done anything like this? I'm really stuck here.