I have a controller method with a SQLFORM.grid in it.
The following setup:
query = db.pricingIngredient.pricingIngredientId > 0
left = [db.productSite.on(db.pricingIngredient.productSiteId==db.productSite.productSiteId),
db.site.on(db.productSite.siteId==db.site.siteId),
db.product.on(db.productSite.productId==db.product.productId)]
grid = SQLFORM.grid(query, left)
When I click on the edit button I want to edit the pricingIngredient table. However, SQLFORM.grid is taking me to edit the product table.
Is there a way to override this and force it to edit the pricingIngredient table without coding my own custom edit button?
-Jim