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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

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

Batch actions in ModelAdmin

Go to End



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.