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.070 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started