How to create a new table inside a tab of an item edit_form

49 views
Skip to first unread message

Manos Pappas

unread,
Jun 19, 2025, 4:50:31 AM6/19/25
to Jam.py Users Mailing List
Hello,

I have an item called FIELD, that contains quite a lot of fields.
I use three tabs (Tab1, Tab2, Tab3) on the edit_form in order to organize better the edit form. The third tab (Tab3) is empty in the application builder, as I want to use it to create a table inside it that will allow the user to view and edit records from another item (let's call it journal).

How can I place a view/edit table item inside the Tab3 of the FIELD edit form?
What I am trying to do is to allow the creation/edit/delete/view of the journal item records from inside the UI of the FIELD edit form.

Many thanks in advance.
Manos

Manos Pappas

unread,
Jun 19, 2025, 7:34:07 AM6/19/25
to Jam.py Users Mailing List
Hi,

To clarify what I want to do.
Using the Jam demo application (the one with albums and tracks), consider the following scenario:

- On the Tracks item, on the edit form add two tabs: tab1 containing all the selected fields and tab2 which is empty.

Consider the following code on the client module of the Tracks item:
function on_edit_form_created(item) {
    item.invoice_table = task.invoice_table.copy();
    item.invoice_table.paginate = false;
    item.invoice_table.create_table(item.view_form.find('.edit-detail'));
}

What I want to do is to make the table invoice_table appear inside the tab2 tab.
How can I do it?

Thank you very much in advance.

Best regards,
Manos

Dean D. Babic

unread,
Jun 19, 2025, 10:24:15 AM6/19/25
to Jam.py Users Mailing List
Hi Manos
is it this:
Clients table?
But this is for Details. 

Other than this, the 
https://northwind.pythonanywhere.com/
has Orders in Tabs...

Hopefully some other ppl can advice.... 

Manos S. Pappás

unread,
Jun 19, 2025, 1:51:46 PM6/19/25
to Dean D. Babic, Jam.py Users Mailing List
Hi,

Thank you for the pointers.
How can I download the resourcingandbilling project? It has the application builder disabled.

Thank you.

--
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/88b5f0b3-b9b6-4f3e-a51c-3cb55fabcccan%40googlegroups.com.


--
---
Best Regards,
Manos Stylianos Pappαs
Address: D. Synadinou 8, 82100 Chios, GREECE
PGP key available on request
http://net314.eu

Dean D. Babic

unread,
Jun 20, 2025, 1:11:36 AM6/20/25
to Jam.py Users Mailing List
The problem is with reporting and showing what works and what not.


It is not fun when we all invested so much time but simple example was never demonstrated.
So now we would need to record all new YT videos how to use v7 Details, etc. but
the problem is where to put it? Since jam-py com still has everything for v5.

I do not know what to do. We would be better off with no jam-py com. At least
the AI engines would not pull the wrong info. It is a mess.

And I'm just trying to help, naively thinking that this is feasible and that we will get ppl on board.
Ah well...


Manos Pappas

unread,
Jun 20, 2025, 2:15:04 AM6/20/25
to Jam.py Users Mailing List
You are correct, I can understand your frustration.
There is a lot documentation available - for jam - but it is quite overwhelming since Jam uses so many frameworks that each of them has it's quirks and gotchas; this is not easy to document and demonstrate as a WHOLE solution.
For me, I am thankful to you and Andrew for Jam and all the help.

Right now my problem - that is preventing me from showing a working example - is my lack of knowldedge of jQuery and how to do things that seem easy but the available documentation (from jQuery) is not helping:
What is needed is somehow to be able to programmatically add (from on_edit_form_created()) something to a specific tab and I cannot understand how to access the object via Jam.
All LLMs I've tested (ChatGPT, DeepSeek, Grok) produce code that on paper it should work but in reality it does not and even brakes the whole system.
So, LLMs are not the answer because they cannot even provide proper knowledge on how to do things...  at least for me.

Dean D. Babic

unread,
Jun 20, 2025, 4:07:49 AM6/20/25
to Jam.py Users Mailing List
As you see on that resourcingandbilling, which is v5, the TABS are just Details. 
I mean, you could have TABS not as details, for example on top of the Form like northwind has.

I think what you actually need is a template. The Home Page is a template, and this tabs are added with a code.
Since it is not a table displayed here, but a number of stuff. But this is V7. It might be applicable for your scenario.

To be fair, a lot of this problems are not really from Jam complexity, or simplicity. 
But from general knowledge, as you say, how actually Web pages function with JQuery etc.

So even tho Jam removed a lot of this complexity initially, under the surface it is still complex.

D.

Manos Pappas

unread,
Jun 20, 2025, 4:11:13 AM6/20/25
to Jam.py Users Mailing List
Hi Drazen,

An edit-template is a great idea, that's what I am going to do.
Thank you very much for the advice.

M.
Reply all
Reply to author
Forward
0 new messages