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.

Customising the CMS /

Batch actions in ModelAdmin


Reply


488 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.