Jump to content


Bulk operations

list bulk action

  • Please log in to reply
4 replies to this topic

#1 skyluke83

skyluke83

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 12 July 2017 - 09:57 PM

Hi Guys,

 

I'm new to the forum but I've been using Grocery CRUD since a few months. I have been figuring out almost everything, except this:

 

I have a contacts table, each contact can be assigned to a list. How can I bulk assign multiple contacts to a certain list? something like the attached image more or less..

 

Thanks!

Luca

 

 

Attached Thumbnails

  • 2017-07-12_23-55-29.jpg


#2 skyluke83

skyluke83

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 12 July 2017 - 09:59 PM

Or in general.. I know I can use the add_action function to add an action for every row, but i would need something that applies to all the rows checked (I am using the bootstrap theme v3).

 

Thanks!

Luca



#3 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 13 July 2017 - 04:47 AM

Hi there,

 

The following link may be abl to help you on the same.

https://www.groceryc...lete-selection/

 

You may achieve your desired functionality by tweaking the shared piece of code.

 

Happy GCing :)



#4 skyluke83

skyluke83

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 13 July 2017 - 11:43 AM

Thank you very much! That definitively helps me in the right direction. But that would mean tweaking GC's main PHP files right? If I update the framework my changes would be overwritten, right?

 

Thanks

Luca



#5 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 14 July 2017 - 05:37 AM

Well, there are ways to safely overwrite the ones you want :D

I know you good enough to  find out the best solution around for the same.

Happy GCing :)







Also tagged with one or more of these keywords: list, bulk, action

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users