⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Custom button in grocery_crud



Dharani

Dharani
  • profile picture
  • Member

Posted 26 February 2018 - 10:33 AM

I need to add my own custom button and check box in grocery grid... Both should be in same column..

 

I had done it but i don't know how to

 

Update data into database after clicking button if the check box is checked

 

Is it possible in grocery_crud...

 

Please some one share how to do it

 

Thanks in advance


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 27 February 2018 - 04:10 AM

you may look for a old solution - delete multiple rows 

 

there you will find the solution as how you could achieve adding the checkbox - and in the same way you can then add your own button too .. 

 

Once both are there - you are in control for the both.

 

Happy GCing :)


Dharani

Dharani
  • profile picture
  • Member

Posted 01 March 2018 - 09:20 AM

I have done adding both checkbox and button ... but i can't find how to update the value in database after user checked the checkbox and click the button...