The problem with Jam is a BOM.
This app represents the Master/Detail in indefinite number of "branches" or Details.
The LEVEL is used for that, I think.
The minimum View is this:
Thoughts how to go with this?
Thanks
Thanks
Hi Dean, have been a while!
Sounds you guys are doing a great job on the project!
I didn't understood properly what's the issue you are trying to bring?!
Is your question "How can we handle data in a tree format on backend?"
Or are you talking purely about frontend?
Or I didn't understood anything!
--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jam-py/2cdd5ef3-c6cb-4610-b2fa-50e5274a473dn%40googlegroups.com.
I think we are mixing subjects here!
We can approach this functionality in Jam using Nested Sets, but the data you showed is a Graph, not a tree, since it has cyclical references!
Graphs can be reduced to an small form and represented as Nested Sets, but, it will directly imply into data duplication!
An alternative is also to split down the reference in another table eg:
Item
-id
-name
-description
-contains(ItemComponents)
ItemComponent
-id
-item_id
With those approaches you can model the similar functionality!
Of course it's not so direct like in Django, but it works dealing with the Jam's limitations
--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jam-py/882bfee1-24cb-4c5a-a3fe-8c291d6cc69an%40googlegroups.com.

Thanks MaxwellCheers


