Hello! I repost here a question about the new feature "Activate child tab" of the AppginiHelper, because this is the most specific forum:
I recentlly installed the new version of the AppGiniHelper and I tried to activate a child tab in the detail view of the parent table.
I have the parent table (company) and the child table (department). First, I put in a tab all the fields of the parent table (the tab is called "Information"), and it works. Then, I tried too activate the child tab and to hide one of its columns. This is my code (in company-dv.js):
var dv = AppGiniHelper.DV;
var tab2 = dv.getChildrenTabs();
tab2.activate("department");
tab2.hide("department", "address");
Hiding the column, it works, but no child tab is shown after the tab "Information". The child tab is still shown under the "Information" tab.
Maybe I'm missing something...
Thanks in advance
Activate child tab with ApppginiHelper
Re: Activate child tab with ApppginiHelper
Hi,
I did not get it, yet, sorry.
Can you please post two shreenshots:
Screenshot of detail view (DV) after reload...
I did not get it, yet, sorry.
Can you please post two shreenshots:
Screenshot of detail view (DV) after reload...
- without any of the Javascript code posted before (default DV)
- with the Javascript code posted before (modified DV)
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Activate child tab with ApppginiHelper
Maybe there is a misunderstanding:
- Custom tabs
They can be added according to the specs here: https://appgini.bizzworxx.de/products/j ... view/tabs/
By default they will be inserted at the upper part of the detail view form - Child tabs
They can be configured in your AppGini project according to the specs here: https://bigprof.com/appgini/help/workin ... kup-fields, see chapter "Parent/Children settings".
By default, those will be placed at the bottom part of the form.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Activate child tab with ApppginiHelper
Hi Jan!
thanks for your answer. By reading this https://appgini.bizzworxx.de/products/j ... child-tab/ I understood if you activate a child tab, it was not shown at the bottom of the detail view but next to the other custom tabs.
So, activate and hide can be used to show/hide child tabs according to a condition, isn't it?
Thanks for your help
thanks for your answer. By reading this https://appgini.bizzworxx.de/products/j ... child-tab/ I understood if you activate a child tab, it was not shown at the bottom of the detail view but next to the other custom tabs.
So, activate and hide can be used to show/hide child tabs according to a condition, isn't it?
Thanks for your help
Re: Activate child tab with ApppginiHelper
Yes, child-tabs will stay in place (at the bottom). And you can activate or hide them depending on your custom conditions.
Let me give an example:
Activation:
According to the sort order of tables in the AppGini project itself and to user permissions, a certain tab will be at the 5th position. But in a certain situations you'd like to draw the user's attention to that tab. Then it would be useful to activate the 5th tab instead of the 1st (which is default).
Hiding:
There may be situations in which you'd like to hide tabs for example in a certain status or for certain users. Then you can use the hide function.
I hope this helps understanding.
Let me give an example:
Activation:
According to the sort order of tables in the AppGini project itself and to user permissions, a certain tab will be at the 5th position. But in a certain situations you'd like to draw the user's attention to that tab. Then it would be useful to activate the 5th tab instead of the 1st (which is default).
Hiding:
There may be situations in which you'd like to hide tabs for example in a certain status or for certain users. Then you can use the hide function.
I hope this helps understanding.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: Activate child tab with ApppginiHelper
Hi Jan, I now understand how it works!
Thanks a lot!
Thanks a lot!
Re: Activate child tab with ApppginiHelper
You're welcome!
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools