Library working fine thanks very much for your work.
I have GroceryCRUD view from 3 tables and I edit toners_printers table. It is working OK
toners
+------------+
id_toner
printers
+------------+
id_printer
toners_printers
+-------------+
id_toner_printer
id_toner
id_printer
status
But I dont know how to make GroceryCRUD view for toners_printers table where 'status' is in toners table. Is it possible to realize ?
toners
+------------+
id_toner
status
printers
+------------+
id_printer
toners_printers
+-------------+
id_toner_printer
id_toner
id_printer
Is it possible update 2 tables ?
Started by piker, 20 June 2012 - 08:51 AM
- Single Page
Posted 20 June 2012 - 08:51 AM
Posted 20 June 2012 - 21:28 PM
Hello, piker! I think you can easily update 2 tables with grocery CRUD callbacks. Just look at callback_before_update and callback_after_update, I hope that will help you.