Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

parent - child and calculated fields 11 Jul 2012 04:22 #2778

  • mark
  • mark's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Parent-Child
I think it’s not possible now to link to a “collection layout” (form) of a child table based on a parent ID mentioned in a grid.

Ex
I have a grid with a list of companies with fields:
- Company ID
- Company name
I’d like to add a field “invoices” in the grid which links to a form with an overview of the invoices of that selected company (based on company ID).

Basically it comes down to this:
I add the parent ID in the table (and change the heading in the grid). Then I should like to link this field to a “collection layout” of a child table with filtering based on the parent ID.

Calculated fields
Additionally, it would be even nicer to precalculate the number of child rows and display that number in the grid instead of the parent ID.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.166 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started